CBLQuerySortOrder

@interface CBLQuerySortOrder : CBLQueryOrderBy

CBLQuerySortOrder is a subclass of the CBLQueryOrderBy that allows to create an ascending or a descending CBLQueryOrderBy instance.

  • Create an ascending CBLQueryOrderBy instance. - returns: an ascending CBLQueryOrderBy instance.

    Declaration

    Objective-C

    - (nonnull CBLQueryOrderBy *)ascending;
  • Create a descending CBLQueryOrderBy instance. - returns: a descending CBLQueryOrderBy instance.

    Declaration

    Objective-C

    - (nonnull CBLQueryOrderBy *)descending;
  • Not available.

    Declaration

    Objective-C

    - (nonnull instancetype)init;