OrderBuilder

This is the type of the variable that is passed into the orderBy callback at runtime on the SelectOperation struct. It automatically mirrors all DORM fields that are defined on the passed-in T Model class.

Fields can be accessed with the same name they were defined in the Model class. Embedded structs will only use the deepest variable name, e.g. a nested field of name userCommon.username will only need to be accessed using username. Duplicate / shadowing members is not implemented and will be unable to use the builder on them.

On the columns you can either use .asc to sort ascending or .desc to sort descending by the column.

When mistyping names, an expressive error message is printed as compile time output, showing all possible members for convenience.

Members

Functions

none
ffi.FFIOrderByEntry none()

Only useful at runtime: when it's decided that no ordering needs to be done after all, simply return this method to do nothing.

Mixins

__anonymous
mixin DynamicMissingMemberErrorHelper!"order field"
Undocumented in source.

Mixed In Members

From mixin DynamicMissingMemberErrorHelper!"order field"

opDispatch
auto opDispatch()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta