QueryStep<T> class abstract

Inheritance

Constructors

QueryStep()

Properties

box Box
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

and(String field) WhereStep<T, QueryStep<T>>
Adds another condition to this query for the specified field. Only results that match both the previous condition and the next will be returned from the query. SQL: AND
innerJoin(Type type, [String alias]) JoinStep<T>
list({int limit = 1000000, int offset = 0}) Future<List<T>>
Returns a list of results, optionally limited by: offset: starts returning results from the specified offset and skips all records before. SQL: OFFSET
inherited
mapTo<M>([Mapper<M>? mapper]) ExpectationStep<M>
Maps resulting records using the specified mapping function.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
or(String field) WhereStep<T, QueryStep<T>>
Adds another condition to this query for the specified field. Both results that match the previous condition and the next will be returned from the query. SQL: OR
orderBy(String field) OrderByStep<T>
Adds a sort order to this query for the specified field. SQL: ORDER BY
stream({int limit = 1000000, int offset = 0}) Stream<T>
Returns a stream of results, optionally limited by: offset: starts returning results from the specified offset and skips all records before. SQL: OFFSET
inherited
toString() String
A string representation of this object.
inherited
unique() Future<T?>
Returns a single result.
inherited
where(String field) WhereStep<T, QueryStep<T>>
Adds a condition to this query for the specified field. SQL: WHERE

Operators

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