Limit class

A limit clause inside a select, update or delete statement.

Inheritance

Constructors

Limit(int amount, int? offset)
Construct a limit clause from the amount of rows to include an a nullable offset.

Properties

amount int
The maximum amount of rows that should be returned by the query.
final
hashCode int
The hash code for this object.
no setterinherited
offset int?
When the offset is non null, the first offset rows will be skipped an not included in the result.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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.
override

Operators

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