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;Swift
func ascending() -> CBLQueryOrderByReturn Value
an ascending CBLQueryOrderBy instance.
-
Create a descending CBLQueryOrderBy instance. - returns: a descending CBLQueryOrderBy instance.
Declaration
Objective-C
- (nonnull CBLQueryOrderBy *)descending;Swift
func descending() -> CBLQueryOrderByReturn Value
a descending CBLQueryOrderBy instance.
-
Not available.
Declaration
Objective-C
- (nonnull instancetype)init;
CBLQuerySortOrder Class Reference