CBLQueryMeta
@interface CBLQueryMeta : NSObject
CBLQueryMeta is a factory class for creating the expressions that refers to the metadata properties of the document.
-
Document ID expression.
Declaration
Objective-C
+ (nonnull CBLQueryExpression *)id;
Return Value
The document ID expression.
-
Document ID expression.
Declaration
Objective-C
+ (nonnull CBLQueryExpression *)idFrom:(nullable NSString *)alias;
Parameters
alias
The data source alias name.
Return Value
The document ID expression.
-
A metadata expression refering to the revision ID of the document.
Declaration
Objective-C
+ (nonnull CBLQueryExpression *)revisionID;
Return Value
The revision ID expression.
-
A metadata expression refering to the revision ID of the document.
Declaration
Objective-C
+ (nonnull CBLQueryExpression *)revisionIDFrom:(nullable NSString *)alias;
Parameters
alias
The data source alias name.
Return Value
The revision ID expression.
-
Sequence number expression. The sequence number indicates how recently the document has been changed. If one document’s
sequence
is greater than another’s, that means it was changed more recently.Declaration
Objective-C
+ (nonnull CBLQueryExpression *)sequence;
Return Value
The sequence number expression.
-
Sequence number expression. The sequence number indicates how recently the document has been changed. If one document’s
sequence
is greater than another’s, that means it was changed more recently.Declaration
Objective-C
+ (nonnull CBLQueryExpression *)sequenceFrom:(nullable NSString *)alias;
Parameters
alias
The data source alias name.
Return Value
The sequence number expression.
-
A metadata expression referring to the deleted boolean flag of the document.
Declaration
Objective-C
+ (nonnull CBLQueryExpression *)isDeleted;
Return Value
The deleted boolean flag expression.
-
A metadata expression referring to the deleted boolean flag of the document.
Declaration
Objective-C
+ (nonnull CBLQueryExpression *)isDeletedFrom:(nullable NSString *)alias;
Parameters
alias
The data source alias name.
Return Value
The deleted boolean flag expression.
-
A metadata expression refering to the expiration timestamp of the document.
Declaration
Objective-C
+ (nonnull CBLQueryExpression *)expiration;
Return Value
The expired flag expression.
-
A metadata expression refering to the expiration timestamp of the document.
Declaration
Objective-C
+ (nonnull CBLQueryExpression *)expirationFrom:(nullable NSString *)alias;
Parameters
alias
The data source alias name.
Return Value
The expired flag expression.
-
Unavailable
Not available
Declaration
Objective-C
- (nonnull instancetype)init;