PostgresGrammar class

PostgreSQL: native booleans and timestamps; ilike available.

Inheritance

Constructors

PostgresGrammar()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

compileDelete(QueryBuilder<Object?> q) → Compiled
inherited
compileExists(QueryBuilder<Object?> q) → Compiled
inherited
compileInsert(String table, List<Map<String, Object?>> rows) → Compiled
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
TRUNCATE resets sequences and is much faster than DELETE.
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