public final class QueryBuilder<E: EntityInspectable & __EntityRelatable> where E == E.EntityBindingType.EntityType
An object that describes a query. You usually interact with a QueryBuilder solely
query() method, but certain properties that can’t be modified on a query
once it has been built (like sort order) can be configured on the QueryBuilder.
build() on a QueryBuilder to create an actual query object that you can request
public typealias EntityType = E
Request that query results for an entity query be returned sorted by the given property. Can not be called after the query has been used the first time. Currently has no effect on the result of calling query.property(…).
The property by which to sort.
Additional flags to control sort behaviour, like what to do with NIL values, or to sort descending instead of ascending.