Order class
Defines how to order a database column.
- Implemented types
- Available extensions
Properties
- column → Column
-
The columns to order by.
final
- columnName → String
-
Name of the Column.
no setteroverride
- fieldName → String
-
Name of the field in the model
no setteroverride
- fieldQueryAlias → String
-
Field name alias for the Column to be used in queries.
no setteroverride
- hasDefault → bool
-
flag to tell if this Column has any
defaultvalueno setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- orderDescending → bool
-
Whether the column should be ordered ascending or descending.
final
- queryAlias → String
-
Query alias for the Column.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- table → Table
-
Table that column belongs to.
no setteroverride
- type → Type
-
Corresponding dart Type.
no setteroverride
Methods
-
asc(
) → Order -
Available on Column<
Creates an Order with the column ordered ascending.T> , provided by the ColumnOrderingOperations extension -
desc(
) → Order -
Available on Column<
Creates an Order with the column ordered descending.T> , provided by the ColumnOrderingOperations extension -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited