ColumnOrderings<T extends Object> class

Defines a class which is used to wrap a column to only expose ordering functions

Constructors

ColumnOrderings.new(Expression<T> column)
This class is a wrapper on top of the generated column class

Properties

column Expression<T>
Column that this ColumnOrderings wraps
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$composableOrdering(Set<OrderingBuilder> orderings) ComposableOrdering
Create a new ComposableOrdering for this column. This is used to create lower level orderings that can be composed together
asc({NullsOrder? nulls}) ComposableOrdering
Sort this column in ascending order (1 -> 10 | A -> Z | Jan 1 -> Dec 31).
desc({NullsOrder? nulls}) ComposableOrdering
Sort this column in descending order (10 -> 1 | Z -> A | Dec 31 -> Jan 1).
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