CBLQuerySortOrder
@interface CBLQuerySortOrder : CBLQueryOrderBy
CBLQuerySortOrder is a subclass of the CBLQueryOrderBy that allows to create an ascending or a descending CBLQueryOrderBy object.
-
Create an ascending CBLQueryOrderBy object.
Declaration
Objective-C
- (nonnull CBLQueryOrderBy *)ascending;
Swift
func ascending() -> CBLQueryOrderBy
-
Create a descending CBLQueryOrderBy object.
Declaration
Objective-C
- (nonnull CBLQueryOrderBy *)descending;
Swift
func descending() -> CBLQueryOrderBy
-
Not available.
Declaration
Objective-C
- (nonnull instancetype)init;