OrderByColumn class
Represents a column in an ORDER BY clause
- Implemented types
- Available extensions
Constructors
- OrderByColumn(String columnName, {String? tableName, SortDirection direction = SortDirection.ascending})
- Creates a new instance of OrderByColumn.
Properties
- columnName → String
-
TODO: we should be able to use ColumnReference
instead of columnName and tableName
The name of the column.
final
- direction → SortDirection
-
The direction to sort the column in.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tableName → String?
-
The name of the table that the column belongs to.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toSql(
) → String -
Available on OrderByColumn, provided by the OrderByColumnExtensions extension
Converts the OrderByColumn to an SQL string. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override