CBLQueryMeta

@interface CBLQueryMeta : NSObject

CBLQueryMeta is a factory class for creating the expressions that refers to the metadata properties of the document.

  • +id

    Document ID expression.

    Declaration

    Objective-C

    + (nonnull CBLQueryExpression *)id;

    Swift

    class func id() -> CBLQueryExpression

    Return Value

    The document ID expression.

  • Document ID expression.

    Declaration

    Objective-C

    + (nonnull CBLQueryExpression *)idFrom:(nullable NSString *)alias;

    Swift

    class func id(from alias: String?) -> CBLQueryExpression

    Parameters

    alias

    The data source alias name.

    Return Value

    The document 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;

    Swift

    class func sequence() -> CBLQueryExpression

    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;

    Swift

    class func sequence(from alias: String?) -> CBLQueryExpression

    Parameters

    alias

    The data source alias name.

    Return Value

    The sequence number expression.

  • Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;