DatabaseOrder enum

Database ordering options for query results

Inheritance
Available extensions

Values

ascending → const DatabaseOrder

Ascending order (A-Z, 1-9)

descending → const DatabaseOrder

Descending order (Z-A, 9-1)

random → const DatabaseOrder

Random order

natural → const DatabaseOrder

Natural order (as stored)

Properties

displayName → String
Get the display name
no setter
getLowerString → String

Available on Enum, provided by the Enumations extension

no setter
getString → String

Available on Enum, provided by the Enumations extension

no setter
getUpperString → String
Get the uppercase string representation (for backward compatibility)
no setter
getUpperString → String

Available on Enum, provided by the Enumations extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
requiresColumn → bool
Check if this order requires a column specification
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sqlString → String
Get the SQL ORDER BY string representation
no setter

Methods

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

Constants

values → const List<DatabaseOrder>
A constant List of the values in this enum, in order of their declaration.