SqliteQueryGrammar class final

SQLite grammar: ? placeholders, INSERT OR IGNORE, ON CONFLICT.

Inheritance

Constructors

SqliteQueryGrammar()
const

Properties

dialect → SqlDialect
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
quoteClose → String
no setterinherited
quoteOpen → String
Opening/closing identifier quotes.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportsReturning → bool
no setterinherited
supportsSavepoints → bool
no setterinherited

Methods

compileDelete(QueryAst query) → CompiledQuery
inherited
compileExists(QueryAst query) → CompiledQuery
inherited
compileInsert(String table, List<Map<String, Object?>> rows, {bool ignore = false}) → CompiledQuery
inherited
compileInsertGetId(String table, Map<String, Object?> row, String idColumn) → CompiledQuery
Insert returning the generated id (RETURNING when supported).
inherited
compileLimitOffset(int? limit, int? offset, Compilation c) → String
LIMIT/OFFSET fragment (MySQL needs a limit when offset is given).
inherited
compileSelect(QueryAst query) → CompiledQuery
inherited
compileTruncate(String table) → CompiledQuery
inherited
compileUpdate(QueryAst query, Map<String, Object?> values) → CompiledQuery
inherited
compileUpsert(String table, List<Map<String, Object?>> rows, List<String> uniqueBy, List<String> update) → CompiledQuery
override
datePart(String part, String column) → String
Expression extracting part from a column (date, year...).
override
excludedValue(String column) → String
Dialect name for value in upserts (excluded.col / VALUES(col)).
inherited
insertKeyword(bool ignore) → String
inherited
jsonWhere(String column, String kind, String operator, Object? value, bool not, Compilation c) → String
JSON where fragment (contains / length).
override
lockClause(LockMode mode) → String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parameter(int index) → String
Placeholder for the index-th (1-based) binding.
override
toString() → String
A string representation of this object.
inherited
wrap(Object identifier) → String
Quotes table.column, column as alias, table.* or *. Invalid characters throw instead of being interpolated (never trust input).
inherited
wrapUnion(String sql) → String
Wraps one side of a UNION (SQLite cannot parenthesize selects).
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited