CBLValueIndexItem

@interface CBLValueIndexItem : NSObject

Value Index Item.

  • Creates a value index item with the given property name.

    Declaration

    Objective-C

    + (nonnull CBLValueIndexItem *)property:(nonnull NSString *)property;

    Swift

    class func property(_ property: String) -> CBLValueIndexItem

    Parameters

    property

    The property name

    Return Value

    The value index item;

  • Creates a value index item with the given expression.

    Declaration

    Objective-C

    + (nonnull CBLValueIndexItem *)expression:
        (nonnull CBLQueryExpression *)expression;

    Swift

    class func expression(_ expression: CBLQueryExpression) -> CBLValueIndexItem

    Parameters

    expression

    The expression to index. Typically a property expression.

    Return Value

    The value index item.

  • Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;