Specifies in which order the result of a select query should be returned. It is possible to add one or more OrderBy attributes to the same method with different field names.
interface ExampleRepository : Repository!Example { @OrderBy("b") @OrderBy("a", OrderBy.desc) Example[] select(); }
See Implementation
Specifies in which order the result of a select query should be returned. It is possible to add one or more OrderBy attributes to the same method with different field names.