OrderBy class final

An order-by clause as part of a select statement. The clause can consist of multiple OrderingTerms, with the first terms being more important and the later terms only being considered if the first term considers two rows equal.

Implemented types

Constructors

OrderBy(List<OrderingTerm> terms)
Constructs an order by clause by the terms.
const
OrderBy.nothing()
Orders by nothing.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
terms → List<OrderingTerm>
The list of ordering terms to respect. Terms appearing earlier in this list are more important, the others will only considered when two rows are equal by the first OrderingTerm.
final

Methods

compileWith(StatementCompiler compiler) → void
Compiles this component with the given StatementCompiler by invoking the relevant add method on it.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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