CBLQuerySortOrder

@interface CBLQuerySortOrder : CBLQueryOrdering

CBLQuerySortOrder allows to specify the ordering direction which is an ascending or a descending order

  • Create an ascending CBLQueryOrdering instance.

    Declaration

    Objective-C

    - (nonnull CBLQueryOrdering *)ascending;

    Return Value

    An ascending CBLQueryOrdering instance.

  • Create a descending CBLQueryOrdering instance.

    Declaration

    Objective-C

    - (nonnull CBLQueryOrdering *)descending;

    Return Value

    A descending CBLQueryOrdering instance.

  • Not available.

    Declaration

    Objective-C

    - (nonnull instancetype)init;