Sequel: The Database Toolkit for Ruby
This report summarizes scanner evidence for jeremyevans/sequel, a Ruby project with 5,097 GitHub stars. SynthScan examined 200,906 lines of code across 867 source files, recording 1741 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 10.8 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1701 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 528 finding(s).
Which changes need focused human review? 1741 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1741 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/sequel/timezones.rb | 21 | # You can set all three timezones to the same value at once via <tt>Sequel.default_timezone=</tt>. | COMMENT |
| LOW | lib/sequel/connection_pool.rb | 1 | # frozen-string-literal: true | COMMENT |
| LOW | lib/sequel/sql.rb | 261 | # Sequel.function(:func).as(:alias) # func() AS "alias" | COMMENT |
| LOW | lib/sequel/sql.rb | 281 | end | COMMENT |
| LOW | lib/sequel/sql.rb | 321 | BooleanExpression.invert(self) | COMMENT |
| LOW | lib/sequel/sql.rb | 361 | # The first argument are the <tt>WHEN</tt>/<tt>THEN</tt> conditions, | COMMENT |
| LOW | lib/sequel/sql.rb | 381 | end | COMMENT |
| LOW | lib/sequel/sql.rb | 401 | end | COMMENT |
| LOW | lib/sequel/sql.rb | 421 | COMMENT | |
| LOW | lib/sequel/sql.rb | 441 | end | COMMENT |
| LOW | lib/sequel/sql.rb | 461 | # the method is passed a block, evaluate it as a virtual row and wrap it | COMMENT |
| LOW | lib/sequel/sql.rb | 521 | # Extract a datetime_part (e.g. year, month) from the given | COMMENT |
| LOW | lib/sequel/sql.rb | 581 | COMMENT | |
| LOW | lib/sequel/sql.rb | 641 | end | COMMENT |
| LOW | lib/sequel/sql.rb | 661 | SQL::Subscript.new(exp, subs.flatten) | COMMENT |
| LOW | lib/sequel/sql.rb | 701 | # on the result. | COMMENT |
| LOW | lib/sequel/sql.rb | 721 | # +ComplexExpression+ subclass. | COMMENT |
| LOW | lib/sequel/sql.rb | 741 | # ~(Sequel[:a].sql_number) # ~"a" | COMMENT |
| LOW | lib/sequel/sql.rb | 761 | # Sequel[:a] <= :b # a <= "b" | COMMENT |
| LOW | lib/sequel/sql.rb | 821 | # Sequel[:a] =~ [1, 2] # (a IN [1, 2]) | COMMENT |
| LOW | lib/sequel/sql.rb | 941 | # Qualify the receiver with the given +qualifier+ (table for column/schema for table). | COMMENT |
| LOW | lib/sequel/sql.rb | 981 | end | COMMENT |
| LOW | lib/sequel/sql.rb | 1061 | class BooleanExpression < ComplexExpression | COMMENT |
| LOW | lib/sequel/sql.rb | 1761 | # are matching against, and ces are the patterns we are matching. | COMMENT |
| LOW | lib/sequel/sql.rb | 1861 | # An instance of this class is yielded to the block supplied to <tt>Dataset#where</tt>, <tt>Dataset#order</tt>, and | COMMENT |
| LOW | lib/sequel/sql.rb | 1881 | # # Argument yielded to block | COMMENT |
| LOW | lib/sequel/sql.rb | 1901 | # ds.where{|o| o.|({a: 1}, :b)} # SELECT * FROM t WHERE ((a = 1) OR b) | COMMENT |
| LOW | lib/sequel/sql.rb | 1941 | Function.new(m, *args) | COMMENT |
| LOW | lib/sequel/sql.rb | 1961 | # | COMMENT |
| LOW | lib/sequel/sql.rb | 1981 | # :frame :: if specified, should be :all, :rows, :range, :groups, a String, or a Hash. | COMMENT |
| LOW | lib/sequel/model.rb | 1 | # frozen-string-literal: true | COMMENT |
| LOW | lib/sequel/dataset.rb | 1 | # frozen-string-literal: true | COMMENT |
| LOW | lib/sequel/core.rb | 1 | # frozen-string-literal: true | COMMENT |
| LOW | lib/sequel/core.rb | 61 | # Sequel can use either +Time+ or +DateTime+ for times returned from the | COMMENT |
| LOW | lib/sequel/core.rb | 81 | # Sequel uses a thread-safe connection pool, which isn't as fast as the | COMMENT |
| LOW | lib/sequel/core.rb | 121 | # DB = Sequel.connect('postgres://user:password@host:port/database_name') | COMMENT |
| LOW | lib/sequel/core.rb | 301 | end | COMMENT |
| LOW | lib/sequel/core.rb | 321 | # Sequel[:column].as(:alias) # column AS alias | COMMENT |
| LOW | lib/sequel/core.rb | 421 | COMMENT | |
| LOW | lib/sequel/deprecated.rb | 1 | # frozen-string-literal: true | COMMENT |
| LOW | lib/sequel/database.rb | 1 | # frozen-string-literal: true | COMMENT |
| LOW | lib/sequel/database/dataset_defaults.rb | 1 | # frozen-string-literal: true | COMMENT |
| LOW | lib/sequel/database/dataset_defaults.rb | 21 | @dataset_modules.each{|m| c.send(:include, m)} | COMMENT |
| LOW | lib/sequel/database/dataset_defaults.rb | 41 | # # Introspect columns for all of DB's datasets | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 41 | # | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 101 | end | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 121 | # | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 141 | # Basically it adds DEFERRABLE INITIALLY DEFERRED on key creation. | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 161 | # :on_update :: Specify the behavior of this column when being updated | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 181 | # allow for index-only scans in more cases (PostgreSQL 11+). | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 201 | # | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 221 | # # CONSTRAINT blah CHECK num >= 1 AND num <= 5 DEFERRABLE INITIALLY DEFERRED | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 241 | # for available options. | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 301 | # index :name | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 321 | # supported by some databases). | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 361 | # should not use this method. Instead, you should use the regular +column+ method | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 481 | # PostgreSQL specific options: | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 501 | # # ADD CONSTRAINT valid_name CHECK (name LIKE 'A%' ESCAPE '\') | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 521 | # :nulls_not_distinct :: Use NULLS NOT DISTINCT to setup a constraint where NULL | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 541 | # add_foreign_key(:artist_id, :table) # ADD COLUMN artist_id integer REFERENCES table | COMMENT |
| 833 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | spec/core/database_spec.rb | 164 | def initialize_load_extensions(_) | CODE |
| LOW | spec/core/database_spec.rb | 3236 | def database_exception_sqlstate(exception, opts={}) | CODE |
| LOW | spec/core/expression_filters_spec.rb | 555 | def emulate_function_sql_append(sql, f) | CODE |
| LOW | spec/core/dataset_spec.rb | 5748 | def complex_expression_sql_append(sql, op, args) | CODE |
| LOW | spec/core/dataset_spec.rb | 6115 | def complex_expression_sql_append(sql, op, args) | CODE |
| LOW | spec/integration/type_test.rb | 5 | def create_items_table_with_column(name, type, opts={}) | CODE |
| LOW | spec/extensions/validation_helpers_spec.rb | 107 | def default_validation_helpers_options(type) | CODE |
| LOW | lib/sequel/timezones.rb | 50 | def application_to_database_timestamp(v) | CODE |
| LOW | lib/sequel/timezones.rb | 104 | def database_to_application_timestamp(v) | CODE |
| LOW | lib/sequel/timezones.rb | 118 | def typecast_to_application_timestamp(v) | CODE |
| LOW | lib/sequel/timezones.rb | 126 | def convert_input_datetime_no_offset(v, input_timezone) | CODE |
| LOW | lib/sequel/timezones.rb | 141 | def convert_input_datetime_other(v, input_timezone) | CODE |
| LOW⚡ | lib/sequel/timezones.rb | 224 | def convert_output_datetime_other(v, output_timezone) | CODE |
| LOW⚡ | lib/sequel/timezones.rb | 231 | def convert_output_time_other(v, output_timezone) | CODE |
| LOW⚡ | lib/sequel/timezones.rb | 237 | def convert_timezone_setter_arg(tz) | CODE |
| LOW⚡ | lib/sequel/timezones.rb | 242 | def local_offset_for_datetime(dt) | CODE |
| LOW⚡ | lib/sequel/timezones.rb | 247 | def time_offset_to_datetime_offset(offset_secs) | CODE |
| LOW | lib/sequel/connection_pool.rb | 136 | def disconnect_acquired_connection(conn, *) | CODE |
| LOW⚡ | lib/sequel/database/schema_generator.rb | 734 | def add_composite_primary_key(columns, opts) | CODE |
| LOW⚡ | lib/sequel/database/schema_generator.rb | 740 | def add_composite_foreign_key(columns, table, opts) | CODE |
| LOW⚡ | lib/sequel/database/schema_generator.rb | 746 | def drop_composite_foreign_key(columns, opts) | CODE |
| LOW | lib/sequel/database/transactions.rb | 378 | def commit_or_rollback_transaction(exception, conn, opts) | CODE |
| LOW | lib/sequel/database/transactions.rb | 513 | def set_transaction_isolation(conn, opts) | CODE |
| LOW | lib/sequel/database/transactions.rb | 520 | def set_transaction_isolation_sql(level) | CODE |
| LOW | lib/sequel/database/query.rb | 228 | def column_schema_default_to_ruby_value(default, type) | CODE |
| LOW | lib/sequel/database/query.rb | 258 | def column_schema_normalize_default(default, type) | CODE |
| LOW | lib/sequel/database/query.rb | 269 | def column_schema_to_ruby_default(default, type) | CODE |
| LOW | lib/sequel/database/query.rb | 297 | def column_schema_integer_min_max_values(column) | CODE |
| LOW | lib/sequel/database/query.rb | 323 | def column_schema_decimal_min_max_values(column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 476 | def alter_table_add_column_sql(table, op) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 480 | def alter_table_drop_column_sql(table, op) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 484 | def alter_table_rename_column_sql(table, op) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 488 | def alter_table_set_column_type_sql(table, op) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 494 | def alter_table_set_column_default_sql(table, op) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 498 | def alter_table_set_column_null_sql(table, op) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 502 | def alter_table_add_constraint_sql(table, op) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 506 | def alter_table_drop_constraint_sql(table, op) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 579 | def column_definition_auto_increment_sql(sql, column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 584 | def column_definition_collate_sql(sql, column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 591 | def column_definition_default_sql(sql, column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 596 | def column_definition_null_sql(sql, column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 616 | def column_definition_primary_key_sql(sql, column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 621 | def column_definition_add_primary_key_sql(sql, column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 628 | def column_definition_append_primary_key_sql(sql, constraint) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 633 | def column_definition_references_sql(sql, column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 638 | def column_definition_add_references_sql(sql, column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 644 | def column_definition_unique_sql(sql, column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 649 | def column_definition_add_unique_sql(sql, column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 656 | def column_definition_append_unique_sql(sql, constraint) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 661 | def append_named_constraint_prefix_sql(sql, name) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 667 | def column_definition_constraint_hash(column, prefix) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 703 | def column_references_append_key_sql(sql, column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 708 | def column_references_table_constraint_sql(constraint) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 718 | def constraint_definition_sql(constraint) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 1052 | def type_literal_generic_bigdecimal(column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 1057 | def type_literal_generic_bignum_symbol(column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 1062 | def type_literal_generic_date(column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 1067 | def type_literal_generic_datetime(column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 1072 | def type_literal_generic_falseclass(column) | CODE |
| LOW⚡ | lib/sequel/database/schema_methods.rb | 1077 | def type_literal_generic_file(column) | CODE |
| 434 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | spec/integration/eager_loader_test.rb | 30 | # Create an map of parent_ids to nodes that have that parent id | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 51 | # Create a new SQLTime instance given an hour, minute, second, and usec. | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 105 | # Create a to_s instance method that takes a dataset, and calls | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 259 | # Create an SQL alias (+AliasedExpression+) of the receiving column or expression to the given alias. | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 317 | # Create a new BooleanExpression with NOT, representing the inversion of whatever self represents. | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 328 | # Create an SQL::AliasedExpression for the given expression and alias. | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 643 | # Create a qualified identifier with the given qualifier and identifier | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1010 | # Create an object with the given expression, alias, and optional column aliases. | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1213 | # Create an object with the given conditions and | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1268 | # Create an object with the given table | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1305 | # Create a constant with the given value | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1534 | # Create a Function using this identifier as the functions name, with | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1552 | # Create an object with the given join_type and table expression. | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1592 | # Create an object with the ON conditions and call super with the | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1608 | # Create an object with the given USING conditions and call super | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1636 | # Create an object with the given string, placeholder arguments, and parens flag. | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1729 | # Create a Function using this identifier as the functions name, with | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1827 | # Create a new +Subscript+ appending the given subscript(s) | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 1836 | # Create a new +Subscript+ by accessing a subarray of a multidimensional | COMMENT |
| MEDIUM | lib/sequel/core.rb | 191 | # This method is deprecated and will be removed in Sequel 6.1. | COMMENT |
| MEDIUM | lib/sequel/core.rb | 199 | # This method is deprecated and will be removed in Sequel 6.1. | COMMENT |
| MEDIUM | lib/sequel/core.rb | 213 | # Create a new module using the block, and set the temporary name | COMMENT |
| MEDIUM | lib/sequel/core.rb | 230 | # This method is deprecated and will be removed in Sequel 6.1. | COMMENT |
| MEDIUM | lib/sequel/core.rb | 238 | # This method is deprecated and will be removed in Sequel 6.1. | COMMENT |
| MEDIUM | lib/sequel/core.rb | 366 | # This method is deprecated and will be removed in Sequel 6.1. | COMMENT |
| MEDIUM | lib/sequel/core.rb | 400 | # This method is deprecated and will be removed in Sequel 6.1 (or | COMMENT |
| MEDIUM | lib/sequel/core.rb | 416 | # This method is deprecated and will be removed in Sequel 6.1 (or | COMMENT |
| MEDIUM | lib/sequel/database/schema_methods.rb | 80 | # Create a join table using a hash of foreign keys to referenced | COMMENT |
| MEDIUM | lib/sequel/plugins/uuid.rb | 52 | # Create a new UUID. This method can be overridden to use a separate | COMMENT |
| MEDIUM | lib/sequel/plugins/pg_array_associations.rb | 306 | # Create a many_to_pg_array association, for the case where the associated | COMMENT |
| MEDIUM | lib/sequel/plugins/pg_array_associations.rb | 313 | # Create a pg_array_to_many association, for the case where the current | COMMENT |
| MEDIUM | lib/sequel/plugins/composition.rb | 60 | # Define the necessary class instance variables. | COMMENT |
| MEDIUM | lib/sequel/plugins/composition.rb | 75 | # Define a composition for this model, with name being the name of the composition. | COMMENT |
| MEDIUM⚡ | lib/sequel/plugins/prepared_statements.rb | 42 | # Create a prepared statement, but modify the SQL used so that the model's columns are explicitly | COMMENT |
| MEDIUM⚡ | lib/sequel/plugins/prepared_statements.rb | 53 | # Create a prepared statement based on the given dataset with a unique name for the given | COMMENT |
| MEDIUM | lib/sequel/plugins/subset_conditions.rb | 74 | # Create a method that combines filters from already registered | COMMENT |
| MEDIUM | lib/sequel/plugins/subset_conditions.rb | 90 | # Create a method that combines filters from already registered | COMMENT |
| MEDIUM | lib/sequel/plugins/association_pks.rb | 74 | # Define a association_pks method using the block for the association reflection | COMMENT |
| MEDIUM | lib/sequel/plugins/pg_xmin_optimistic_locking.rb | 38 | # Define the xmin column accessor | COMMENT |
| MEDIUM | lib/sequel/plugins/nested_attributes.rb | 189 | # Create a new associated object with the given attributes, validate | COMMENT |
| MEDIUM | lib/sequel/plugins/many_through_many.rb | 230 | # Create a many_through_many association. Arguments: | COMMENT |
| MEDIUM | lib/sequel/plugins/many_through_many.rb | 258 | # Create the association methods and :eager_loader and :eager_grapher procs. | COMMENT |
| MEDIUM | lib/sequel/plugins/association_multi_add_remove.rb | 44 | # Define the methods use to add/remove/set multiple associated objects | COMMENT |
| MEDIUM | lib/sequel/plugins/rcte_tree.rb | 77 | # Create the appropriate parent, children, ancestors, and descendants | COMMENT |
| MEDIUM | lib/sequel/plugins/subset_static_cache.rb | 21 | # The following methods will use the cache and not issue a database query: | COMMENT |
| MEDIUM | lib/sequel/plugins/inverted_subsets.rb | 46 | # Define a not_ prefixed subset which inverts the subset condition. | COMMENT |
| MEDIUM | lib/sequel/plugins/subclasses.rb | 41 | # Initialize the subclasses instance variable for the model. | COMMENT |
| MEDIUM | lib/sequel/plugins/sql_comments.rb | 58 | # Define a method +meth+ on the given module +mod+ that will use automatic | COMMENT |
| MEDIUM | lib/sequel/plugins/finder.rb | 46 | # Create an optimized finder method using a dataset placeholder literalizer. | COMMENT |
| MEDIUM | lib/sequel/plugins/finder.rb | 199 | # Define a finder method in the given module with the given method name that | COMMENT |
| MEDIUM | lib/sequel/plugins/finder.rb | 205 | # Define a prepared_finder method in the given module that will call the associated prepared | COMMENT |
| MEDIUM | lib/sequel/plugins/sharding.rb | 23 | # Create a new object on the given shard s. | COMMENT |
| MEDIUM | lib/sequel/dataset/dataset_module.rb | 27 | # Define a method in the module | COMMENT |
| MEDIUM⚡ | lib/sequel/dataset/sql.rb | 231 | # Define a dataset literalization method for the given type in the given module, | COMMENT |
| MEDIUM | lib/sequel/dataset/sql.rb | 148 | # This method is used by +multi_insert+ to format insert statements and | COMMENT |
| MEDIUM | …b/sequel/dataset/deprecated_singleton_class_methods.rb | 5 | # This module implements methods to support deprecated use of extensions registered | COMMENT |
| MEDIUM | lib/sequel/dataset/actions.rb | 360 | # This method is called with a columns array and an array of value arrays: | COMMENT |
| MEDIUM | lib/sequel/dataset/actions.rb | 559 | # This method is supported on Oracle, but Oracle's MERGE support is | COMMENT |
| MEDIUM | lib/sequel/dataset/placeholder_literalizer.rb | 147 | # Create a PlaceholderLiteralizer by yielding a Recorder and dataset to the | COMMENT |
| MEDIUM | lib/sequel/dataset/query.rb | 1230 | # Create a subclass of the receiver's class, and include the given modules | COMMENT |
| 51 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lib/sequel/sql.rb | 384 | # and return the result as a +NumericExpression+, so you can use the bitwise operators | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 394 | # and return the result as a +StringExpression+, so you can use + | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 700 | # and return the result as a +NumericExpression+, so you can use the bitwise operators | COMMENT |
| MEDIUM | lib/sequel/sql.rb | 710 | # and return the result as a +StringExpression+, so you can use + | COMMENT |
| MEDIUM | lib/sequel/deprecated.rb | 5 | # There are a two accessors you can use to change how/where the deprecation methods are printed | COMMENT |
| LOW⚡ | lib/sequel/database/schema_generator.rb | 725 | # On MySQL, make sure to use a symbol for the name of the column, as otherwise you | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 686 | # On MySQL, make sure to use a symbol for the name of the column, as otherwise you | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 703 | # On MySQL, make sure to use a symbol for the name of the column, as otherwise you | COMMENT |
| LOW | lib/sequel/database/schema_generator.rb | 714 | # On MySQL, make sure to use a symbol for the name of the column, as otherwise you | COMMENT |
| MEDIUM | lib/sequel/plugins/pg_array_associations.rb | 31 | # types, so you can use them as you would any other association. Unlike | COMMENT |
| MEDIUM | lib/sequel/plugins/json_serializer.rb | 86 | # fields, you can use the :fields option, which will call set_fields with | COMMENT |
| MEDIUM | lib/sequel/plugins/json_serializer.rb | 91 | # If you want to update an existing instance, you can use the from_json | COMMENT |
| MEDIUM | lib/sequel/plugins/optimistic_locking.rb | 26 | # be made, you can use the +:prevent_increase+ plugin option: | COMMENT |
| LOW | lib/sequel/plugins/single_table_inheritance.rb | 217 | # If calling set_dataset manually, make sure to set the dataset | COMMENT |
| MEDIUM | lib/sequel/plugins/mssql_optimistic_locking.rb | 28 | # be made, you can use the +:prevent_increase+ plugin option: | COMMENT |
| MEDIUM | lib/sequel/plugins/pg_xmin_optimistic_locking.rb | 28 | # be made, you can use the +:prevent_increase+ plugin argument: | COMMENT |
| MEDIUM | lib/sequel/plugins/auto_validations.rb | 59 | # have an error associated with them, you can use the skip_invalid option: | COMMENT |
| MEDIUM | lib/sequel/plugins/boolean_subsets.rb | 13 | # Using this, you can change the method name and arguments for each column. | COMMENT |
| MEDIUM | lib/sequel/plugins/unused_associations.rb | 194 | # Then you can add the :modify_associations plugin option to | COMMENT |
| MEDIUM | lib/sequel/plugins/rcte_tree.rb | 56 | # Note that you can change the name of the above associations by specifying | COMMENT |
| MEDIUM | lib/sequel/plugins/xml_serializer.rb | 91 | # fields, you can use the :fields option, which will call set_fields with | COMMENT |
| MEDIUM | lib/sequel/plugins/xml_serializer.rb | 96 | # If you want to update an existing instance, you can use the from_xml | COMMENT |
| MEDIUM | lib/sequel/plugins/xml_serializer.rb | 297 | # builder object so you can add additional XML tags. | COMMENT |
| MEDIUM | lib/sequel/plugins/sql_comments.rb | 35 | # other plugins, you can use the appropriate <tt>sql_comments_*_methods</tt> | COMMENT |
| MEDIUM⚡ | lib/sequel/plugins/csv_serializer.rb | 50 | # fields, you can use the :headers option. | COMMENT |
| MEDIUM⚡ | lib/sequel/plugins/csv_serializer.rb | 54 | # If you want to update an existing instance, you can use the from_csv | COMMENT |
| MEDIUM | lib/sequel/plugins/concurrent_eager_loading.rb | 20 | # With the concurrent_eager_loading plugin, you can use the +eager_load_concurrently+ | COMMENT |
| MEDIUM | lib/sequel/plugins/concurrent_eager_loading.rb | 36 | # concurrent. If you want to force a non-concurrent eager load, you can use | COMMENT |
| LOW | lib/sequel/plugins/concurrent_eager_loading.rb | 66 | # concurrent eager loading, you need to make sure you are not modifying | COMMENT |
| MEDIUM | lib/sequel/plugins/concurrent_eager_loading.rb | 69 | # To keep things simple, you can use +Sequel.synchronize_with+ to only | COMMENT |
| MEDIUM | lib/sequel/plugins/validation_helpers.rb | 263 | # is case sensitive by default, you can use: | COMMENT |
| MEDIUM | lib/sequel/plugins/column_encryption.rb | 180 | # To force reencryption for existing records that are using the older key, you can use | COMMENT |
| LOW | lib/sequel/plugins/column_encryption.rb | 230 | # equal. If this is an issue, make sure you use a serialization format where all | COMMENT |
| MEDIUM | lib/sequel/dataset/prepared_statements.rb | 243 | # support and using the same argument hash so that you can use | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_hstore.rb | 26 | # and have activated refinements for the file, you can also use Hash#hstore: | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_array_ops.rb | 14 | # If you have also loaded the pg_array extension, you can use | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_array_ops.rb | 26 | # and have activated refinements for the file, you can also use Symbol#pg_array: | COMMENT |
| MEDIUM | lib/sequel/extensions/date_parse_input_handler.rb | 5 | # extension does not change behavior. However, you can use the | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_auto_parameterize_in_array.rb | 32 | # you can use the +:treat_string_list_as_text_array+ Database option is used. This | COMMENT |
| LOW | lib/sequel/extensions/pg_row.rb | 25 | # If you plan to use arrays of composite types, make sure you load the | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_row.rb | 37 | # and have activated refinements for the file, you can also use Array#pg_row: | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_row.rb | 77 | # To get a list of such anonymous classes, you can use the following code: | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_hstore_ops.rb | 15 | # If you have also loaded the pg_hstore extension, you can use | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_hstore_ops.rb | 27 | # and have activated refinements for the file, you can also use Symbol#hstore: | COMMENT |
| MEDIUM | lib/sequel/extensions/error_sql.rb | 4 | # that you can use to get the sql that caused the error | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_range.rb | 27 | # and have activated refinements for the file, you can also use Range#pg_range: | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_range_ops.rb | 14 | # If you have also loaded the pg_range or pg_multirange extensions, you can use | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_range_ops.rb | 27 | # and have activated refinements for the file, you can also use Symbol#pg_range: | COMMENT |
| MEDIUM | lib/sequel/extensions/async_thread_pool.rb | 107 | # On Ruby 2.2+, you can use +itself+ instead of +__value+. It's preferable to | COMMENT |
| MEDIUM | lib/sequel/extensions/date_arithmetic.rb | 10 | # Then you can use the Sequel.date_add and Sequel.date_sub methods | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_extended_integer_support.rb | 60 | # integers outside of PostgreSQL bigint range, you can use a strategy | COMMENT |
| MEDIUM | lib/sequel/extensions/stdio_logger.rb | 15 | # Then you you can use Sequel::StdioLogger to wrap IO objects that you | COMMENT |
| MEDIUM | lib/sequel/extensions/is_distinct_from.rb | 13 | # Then you can use the Sequel.is_distinct_from to create the expression | COMMENT |
| MEDIUM | lib/sequel/extensions/string_agg.rb | 24 | # Then you can use the Sequel.string_agg method to return a Sequel | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_json_ops.rb | 19 | # If you have also loaded the pg_json extension, you can use | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_json_ops.rb | 33 | # and have activated refinements for the file, you can also use Symbol#pg_json or | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_json.rb | 25 | # you can use +__getobj__+ (this comes from Ruby's delegate library). | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_json.rb | 43 | # and have activated refinements for the file, you can also use the | COMMENT |
| MEDIUM | lib/sequel/extensions/pg_array.rb | 24 | # and have activated refinements for the file, you can also use Array#pg_array: | COMMENT |
| LOW | lib/sequel/extensions/constraint_validations.rb | 16 | # You also need to make sure to add the metadata table for the automatic | COMMENT |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/sequel/plugins/modification_detection.rb | 28 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/input_transformer.rb | 19 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/uuid.rb | 10 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/update_primary_key.rb | 16 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/json_serializer.rb | 114 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/accessed_columns.rb | 21 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/error_splitter.rb | 26 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/association_proxies.rb | 45 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/empty_failure_backtraces.rb | 10 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/paged_operations.rb | 70 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/enum.rb | 54 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/validate_associated.rb | 12 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/single_table_inheritance.rb | 30 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/dataset_associations.rb | 51 | # Usage: | COMMENT |
| LOW⚡ | lib/sequel/plugins/instance_specific_default.rb | 70 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/active_model.rb | 13 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/unlimited_update.rb | 9 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/eager_graph_eager.rb | 54 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/pg_auto_constraint_validations.rb | 76 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/table_select.rb | 19 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/update_or_create.rb | 31 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/instance_hooks.rb | 23 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/blacklist_security.rb | 10 | # Usage: | COMMENT |
| LOW | …validations_constraint_validations_presence_message.rb | 21 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/split_values.rb | 29 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/insert_returning_select.rb | 13 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/prepared_statements.rb | 16 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/subset_conditions.rb | 12 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/touch.rb | 19 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/singular_table_names.rb | 16 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/association_pks.rb | 59 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/columns_updated.rb | 10 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/update_refresh.rb | 17 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/eager_each.rb | 23 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/auto_validations.rb | 63 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/skip_saving_columns.rb | 31 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/skip_create_refresh.rb | 19 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/many_through_many.rb | 74 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/caching.rb | 40 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/association_multi_add_remove.rb | 31 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/single_statement_dataset_destroy.rb | 16 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/column_select.rb | 20 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/boolean_subsets.rb | 16 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/auto_restrict_eager_graph.rb | 40 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/async_thread_pool.rb | 18 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/prepared_statements_safe.rb | 13 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/column_conflicts.rb | 24 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/insert_conflict.rb | 29 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/hook_class_methods.rb | 26 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/forbid_lazy_load.rb | 96 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/after_initialize.rb | 8 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/inspect_pk.rb | 13 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/association_lazy_eager_option.rb | 28 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/xml_serializer.rb | 110 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/throw_failures.rb | 30 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/string_stripper.rb | 19 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/timestamps.rb | 11 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/inverted_subsets.rb | 15 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/whitelist_security.rb | 11 | # Usage: | COMMENT |
| LOW | lib/sequel/plugins/deprecated_associations.rb | 35 | # Usage: | COMMENT |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lib/sequel/database/dataset_defaults.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/dataset_defaults.rb | 8 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/dataset.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/dataset.rb | 8 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/features.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/features.rb | 9 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/transactions.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/transactions.rb | 10 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/connecting.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/connecting.rb | 8 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/query.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/query.rb | 8 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/logging.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/logging.rb | 8 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/schema_methods.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/schema_methods.rb | 8 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/misc.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/database/misc.rb | 8 | # --------------------- | COMMENT |
| MEDIUM⚡ | lib/sequel/dataset/sql.rb | 220 | # --------------------- | COMMENT |
| MEDIUM⚡ | lib/sequel/dataset/sql.rb | 223 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/sql.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/sql.rb | 8 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/prepared_statements.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/prepared_statements.rb | 9 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/features.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/features.rb | 9 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/actions.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/actions.rb | 10 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/graph.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/graph.rb | 10 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/query.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/query.rb | 8 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/misc.rb | 5 | # --------------------- | COMMENT |
| MEDIUM | lib/sequel/dataset/misc.rb | 8 | # --------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/sequel/database/schema_generator.rb | 355 | # To just create a constraint, the first argument should be an array of column symbols | COMMENT |
| LOW | lib/sequel/database/connecting.rb | 86 | # If subadapter file doesn't exist, just return, | COMMENT |
| LOW | lib/sequel/database/logging.rb | 52 | # Remove any existing loggers and just use the given logger: | COMMENT |
| LOW | lib/sequel/plugins/uuid.rb | 21 | # and it will just use the settings given or the default settings. Options: | COMMENT |
| LOW | lib/sequel/plugins/eager_graph_eager.rb | 17 | # just add them to the eager_graph call: | COMMENT |
| LOW | lib/sequel/plugins/column_conflicts.rb | 8 | # By default, Model#get_column_value and #set_column_value just call send, this | COMMENT |
| LOW | lib/sequel/plugins/throw_failures.rb | 69 | # caught, just return the originally generated error. | COMMENT |
| LOW | lib/sequel/plugins/throw_failures.rb | 78 | # caught, just return the originally generated error. | COMMENT |
| LOW | lib/sequel/plugins/timestamps.rb | 26 | # and it will just use the settings given or the default settings. Options: | COMMENT |
| LOW | lib/sequel/plugins/validation_contexts.rb | 26 | # objects and updating existing objects, just use +new?+. | COMMENT |
| LOW | lib/sequel/plugins/static_cache.rb | 253 | # If frozen: false is not used, just return the argument. Otherwise, | COMMENT |
| MEDIUM | lib/sequel/plugins/validation_class_methods.rb | 352 | # database type. This is generally useful in conjunction with | COMMENT |
| MEDIUM | lib/sequel/dataset/query.rb | 281 | # Only used in conjunction with :alias. | COMMENT |
| LOW | lib/sequel/dataset/query.rb | 78 | # On Ruby <2.4, just use Object#clone directly, since we don't | COMMENT |
| MEDIUM | lib/sequel/connection_pool/sharded_single.rb | 22 | # Adds new servers to the connection pool. Primarily used in conjunction with primary/replica | COMMENT |
| LOW | lib/sequel/extensions/null_dataset.rb | 9 | # anything. With standard Sequel, you'd probably just add a | COMMENT |
| LOW | lib/sequel/extensions/inflector.rb | 60 | # for strings, not regular expressions. You simply pass the irregular in singular and plural form. | COMMENT |
| MEDIUM | lib/sequel/extensions/arbitrary_servers.rb | 32 | # You can use this extension in conjunction with the server_block | COMMENT |
| MEDIUM | lib/sequel/extensions/arbitrary_servers.rb | 45 | # Anyone using this extension in conjunction with the server_block | COMMENT |
| LOW | lib/sequel/adapters/postgres.rb | 358 | # with a filename, you should just use +run+ instead of this method. | COMMENT |
| LOW | lib/sequel/adapters/postgres.rb | 419 | # with a filename, you should just use +run+ instead of this method. | COMMENT |
| LOW | lib/sequel/adapters/amalgalite.rb | 72 | # type doesn't match a known type, just return the value. | COMMENT |
| LOW | lib/sequel/adapters/shared/postgres.rb | 2202 | # This branch is unreachable in tests, but it seems better to just return | COMMENT |
| LOW | lib/sequel/adapters/shared/postgres.rb | 2293 | # Raw SQL used or RETURNING disabled, just use the default behavior | COMMENT |
| LOW | lib/sequel/model/associations.rb | 878 | # If +s+ is an array, map +s+ over the block. Otherwise, just call the | COMMENT |
| LOW | lib/sequel/model/associations.rb | 3538 | # just return results as simple objects. This is useful if you | COMMENT |
| LOW | lib/sequel/model/inflections.rb | 57 | # for strings, not regular expressions. You simply pass the irregular in singular and plural form. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/sequel/deprecated.rb | 39 | # Print the message and possibly backtrace to the output. | COMMENT |
| LOW⚡ | lib/sequel/plugins/instance_specific_default.rb | 72 | # # Set how to handle associations that could be instance specific | COMMENT |
| LOW⚡ | lib/sequel/plugins/instance_specific_default.rb | 77 | # # Set how to handle associations that could be instance specific | COMMENT |
| LOW⚡ | lib/sequel/plugins/instance_specific_default.rb | 81 | # Set how to handle associations that could be instance specific but did | COMMENT |
| LOW | lib/sequel/plugins/validation_helpers.rb | 212 | # Check if value is an instance of a class. If +klass+ is an array, | COMMENT |
| LOW | lib/sequel/dataset/query.rb | 1313 | # Add the dataset to the list of compounds | COMMENT |
| LOW | lib/sequel/connection_pool/sharded_threaded.rb | 225 | # Check if connection was checked in between when assign_connection failed and now. | COMMENT |
| LOW | lib/sequel/connection_pool/threaded.rb | 171 | # Check if connection was checked in between when assign_connection failed and now. | COMMENT |
| LOW⚡ | lib/sequel/extensions/pg_hstore_ops.rb | 143 | # Check if the receiver contains all of the keys in the given array: | COMMENT |
| LOW⚡ | lib/sequel/extensions/pg_hstore_ops.rb | 150 | # Check if the receiver contains any of the keys in the given array: | COMMENT |
| LOW⚡ | lib/sequel/extensions/pg_hstore_ops.rb | 157 | # Check if the receiver contains all entries in the other hstore: | COMMENT |
| LOW⚡ | lib/sequel/extensions/pg_hstore_ops.rb | 164 | # Check if the other hstore contains all entries in the receiver: | COMMENT |
| LOW⚡ | lib/sequel/extensions/pg_hstore_ops.rb | 171 | # Check if the receiver contains a non-NULL value for the given key: | COMMENT |
| LOW | lib/sequel/extensions/pg_hstore_ops.rb | 192 | # Check if the receiver contains the given key: | COMMENT |
| LOW | lib/sequel/extensions/identifier_mangling.rb | 80 | # Set whether to quote identifiers (columns and tables) for this database: | COMMENT |
| LOW⚡ | lib/sequel/extensions/pg_json_ops.rb | 625 | # Check if the receiver contains all of the keys in the given array: | COMMENT |
| LOW⚡ | lib/sequel/extensions/pg_json_ops.rb | 632 | # Check if the receiver contains any of the keys in the given array: | COMMENT |
| LOW⚡ | lib/sequel/extensions/pg_json_ops.rb | 639 | # Check if the receiver contains all entries in the other jsonb: | COMMENT |
| LOW⚡ | lib/sequel/extensions/pg_json_ops.rb | 646 | # Check if the other jsonb contains all entries in the receiver: | COMMENT |
| LOW | lib/sequel/extensions/pg_json_ops.rb | 660 | # Check if the receiver contains the given key: | COMMENT |
| LOW | lib/sequel/extensions/pg_extended_date_support.rb | 69 | # Set whether to allow infinite timestamps/dates. Make sure the | COMMENT |
| LOW | lib/sequel/adapters/jdbc.rb | 781 | # Set whether to convert Java types to ruby types in the returned dataset. | COMMENT |
| LOW | lib/sequel/adapters/shared/sqlanywhere.rb | 12 | # Set whether to convert smallint type to boolean for this Database instance | COMMENT |
| LOW | lib/sequel/model/base.rb | 1979 | # Set values to the provided hash. Called after a create, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | lib/sequel/plugins/class_table_inheritance.rb | 35 | # key for that table. In this example, the employees table has an id column | COMMENT |
| HIGH | lib/sequel/plugins/class_table_inheritance.rb | 44 | # In this example the staff table also stores Cook model objects and the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | spec/extensions/dataset_run_spec.rb | 7 | db["SQL with ?", "placeholder"].extension(:dataset_run).run.must_be_nil | CODE |
| LOW⚡ | spec/extensions/dataset_run_spec.rb | 8 | db.sqls.must_equal ["SQL with 'placeholder'"] | CODE |
| LOW⚡ | spec/extensions/dataset_run_spec.rb | 13 | db["SQL with ?", "placeholder"].extension(:dataset_run).server(:a).run.must_be_nil | CODE |
| LOW⚡ | spec/extensions/dataset_run_spec.rb | 14 | db.sqls.must_equal ["SQL with 'placeholder' -- a"] | CODE |
| LOW | spec/adapters/postgres_spec.rb | 4960 | [{"name": "One", "director": "John Doe"}, | CODE |
| LOW | spec/adapters/postgres_spec.rb | 4983 | {:user_id=>1, :movie_id=>1, :mname=>"One", :director=>"John Doe", :book_id=>nil, :bname=>nil, :author_id=>nil, : | CODE |