LimitContainerMixin<T extends HasResultSet, D> mixin
Mixin to provide the high-level limit methods for users.
- Superclass constraints
- Query<
T, D>
- Query<
Properties
- database ↔ DatabaseConnectionUser
-
The database this statement should be sent to.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- limitExpr ↔ Limit?
-
The
LIMIT
clause for this statement.getter/setter pairinherited - orderByExpr ↔ OrderBy?
-
The
ORDER BY
clause for this statementgetter/setter pairinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
table
↔ ResultSetImplementation<
T, D> -
The (main) table or view that this query operates on.
getter/setter pairinherited
- whereExpr ↔ Where?
-
The
WHERE
clause for this statementgetter/setter pairinherited
Methods
-
constructQuery(
) → GenerationContext -
Constructs the query that can then be sent to the database executor.
inherited
-
limit(
int limit, {int? offset}) → void -
Limits the amount of rows returned by capping them at
limit
. Ifoffset
is provided as well, the firstoffset
rows will be skipped and not included in the result. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
writeInto(
GenerationContext context) → void -
Writes this component into the
context
by writing to its GenerationContext.buffer or by introducing bound variables. When writing into the buffer, no whitespace around the this component should be introduced. When a component consists of multiple composed component, it's responsible for introducing whitespace between its child components.inherited -
writeStartPart(
GenerationContext ctx) → void -
Subclasses must override this and write the part of the statement that
comes before the where and limit expression..
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited