Ordering
public class Ordering
An Ordering represents a single ordering component in the query ORDER BY clause.
-
Create an Ordering instance with the given property name.
Declaration
Swift
public static func property(_ property: String) -> SortOrderParameters
propertyThe property name.
Return Value
The SortOrder object used for specifying the sort order, ascending or descending order.
-
Create an Ordering instance with the given expression.
Declaration
Swift
public static func expression(_ expression: Expression) -> SortOrderParameters
expressionThe Expression object.
Return Value
The SortOrder object used for specifying the sort order, ascending or descending order.
Ordering Class Reference