CBLQueryOrdering
@interface CBLQueryOrdering : NSObject
A CBLQueryOrdering represents a single ordering component in the query ORDER BY clause.
-
Create a sort order instance with a given property name.
Declaration
Objective-C
+ (nonnull CBLQuerySortOrder *)property:(nonnull NSString *)name;
Parameters
name
A propert name in key path format.
Return Value
A sort order instance.
-
Create a sort order instance with a given expression.
Declaration
Objective-C
+ (nonnull CBLQuerySortOrder *)expression: (nonnull CBLQueryExpression *)expression;
Parameters
expression
An expression instance.
Return Value
A sort order instance.
-
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype) init NS_UNAVAILABLE;