Marten::DB::Connection::SQLite
Inherits Marten::DB::Connection::Base < Reference < Object
Instance methods
Returns the batch size to use when inserting multiple rows in a specific table.
Allows to insert multiple rows in a specific table and returns the primary key values for the inserted rows.
This method allow inserting individual rows defined in values in the table_name table. When
pk_column_to_fetch is specified, the primary key values for the inserted rows will be returned. Note that
this method can return nil if the underlying database does not support returning primary key values for bulk
inserts.
Returns a distinct clause to remove duplicates from a query's results.
If column names are specified, only these specific columns will be checked to identify duplicates.
Allows to insert a new row in a specific table.
Returns the left operand to use for a specific query predicate.
Most of the time the initial ID will be left intact but depending on the connection implementation and the considered predicate type (eg. "istartswith"), specific SQL functions could be applied on the column ID.
See also #left_operand_for_transformation for column lookup transformations applied before the predicate.
Returns the left operand SQL after applying a column lookup transformation to id.
id is qualified column SQL (for example alias.col). transformation matches
Marten::DB::Query::SQL::Transformation::Base.transformation_name (for example "year").
Implementations map transformation names to SQL fragments, the same way predicate-specific
operand shaping is handled in #left_operand_for_predicate.
See also #left_operand_for_predicate, which shapes the column side for predicates.
Returns a compatible value to use in the context of a LIMIT statement for the database at hand.
Returns the maximum size for table names, column names or index / constraint names.
Returns the operator to use for a specific query predicate.
Returns the parameterized identifier for an ordered argument.
This method takes the number of the argument which is aimed to be part of an array of ordered SQL arguments.
Returns a boolean indicating whether the database supports the logical XOR operator.