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.
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.