Sort class abstract
Representing sort arguments in a uniform, abstract way.
To allow different DatabaseAdapter implementations to interpret or implement ordering in different ways (e.g. convert to SQL statements) this is a uniform representation of sort arguments.
- Implementers
Constructors
- Sort()
-
const
Properties
Methods
-
linear(
) → List< ExpressionSort> - Returns a linear list of ExpressionSort.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reduce(
) → Sort - Tries to simplify the Sort structure to avoid redundancy.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
asc(
dynamic expression) → Sort - Convenience method for creating an ascending ExpressionSort.
-
desc(
dynamic expression) → Sort - Convenience method for creating a descending ExpressionSort.
-
followedBy(
Iterable< Sort> sorts) → Sort