SelectOperation.orderBy

Allows ordering by the specified field with the specified direction. (defaults to ascending)

Returning u => u.none means no ordering will be added. (Useful only at runtime)

Multiple orderBy can be added to the same query object. Ordering is important - the first order orders all the rows, the second order only orders each group of rows where the previous order had the same values, etc.

struct SelectOperation(T, TSelect, bool hasWhere = false, bool hasOffset = false, bool hasLimit = false)
@safe return @trusted
typeof(this)
orderBy

Meta