QueryBase<T> class

A base class for objects that compile to SQL queries, typically within an ORM.

Implementers

Constructors

QueryBase()

Properties

casts Map<String, String>
Casts to perform when querying the database.
read-only
fields List<String>
The list of fields returned by this query. [...]
read-only
fieldSet String
A String of all fields, joined by a comma (,).
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
substitutionValues Map<String, dynamic>
Values to insert into a prepared statement.
final
tableName String
The table against which to execute this query.
read-only

Methods

compile(Set<String> trampoline, {bool includeTableName = false, String preamble, bool withFields = true}) String
deserialize(List row) → T
get(QueryExecutor executor) Future<List<T>>
getOne(QueryExecutor executor) Future<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
union(QueryBase<T> other) Union<T>
unionAll(QueryBase<T> other) Union<T>

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited