PostgresGrammar class
PostgreSQL: native booleans and timestamps; ilike available.
Constructors
- PostgresGrammar()
-
const
Properties
Methods
-
compileDelete(
QueryBuilder< Object?> q) → Compiled -
inherited
-
compileExists(
QueryBuilder< Object?> q) → Compiled -
inherited
-
compileInsert(
String table, List< Map< rows) → CompiledString, Object?> > -
inherited
-
compileInsertGetId(
String table, Map< String, Object?> row, String primaryKey) → Compiled -
Insert with the generated key returned. Both SQLite (3.35+) and
PostgreSQL understand RETURNING.
inherited
-
compileSelect(
QueryBuilder< Object?> q) → Compiled -
inherited
-
compileTruncate(
String table) → String -
TRUNCATEresets sequences and is much faster thanDELETE.override -
compileUpdate(
QueryBuilder< Object?> q, Map<String, Object?> values) → Compiled -
inherited
-
compileWheres(
List< WhereClause> wheres, List<Object?> bindings) → String -
inherited
-
encode(
Object? value) → Object? -
How a Dart value travels to the driver. Overridden per dialect
(SQLite has no bool or DateTime type).
override
-
encodeAll(
Iterable< Object?> values) → List<Object?> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
wrap(
Object identifier) → String -
Wraps
table.column,table.*,column as alias, or passes RawSql through.inherited -
wrapTable(
String table) → String -
inherited
-
wrapValue(
String value) → String -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited