OrderBy class

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.

Inheritance

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

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