Union<T> class

Represents the UNION of two subqueries.

Inheritance

Constructors

Union(QueryBase<T> left, QueryBase<T> right, {bool all = false, String tableName})

Properties

all bool
Whether this is a UNION ALL operation.
final
casts Map<String, String>
Casts to perform when querying the database.
read-only, inherited
fields List<String>
The list of fields returned by this query. [...]
read-only, override
fieldSet String
A String of all fields, joined by a comma (,).
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
left QueryBase<T>
The subject(s) of this binary operation.
final
The subject(s) of this binary operation.
final
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, inherited
tableName String
The table against which to execute this query.
final

Methods

compile(Set<String> trampoline, {bool includeTableName = false, String preamble, bool withFields = true}) String
override
deserialize(List row) → T
override
get(QueryExecutor executor) Future<List<T>>
inherited
getOne(QueryExecutor executor) Future<T>
inherited
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>
inherited
unionAll(QueryBase<T> other) Union<T>
inherited

Operators

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