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) -> SortOrder
  • Create an Ordering instance with the given expression.

    Declaration

    Swift

    public static func expression(_ expression: Expression) -> SortOrder