CBLQueryPredictionFunction

@interface CBLQueryPredictionFunction : CBLQueryExpression

ENTERPRISE EDITION ONLY

CBLQueryPredictionFunction that allows to create an expression that refers to one of the properties of the prediction result dictionary.

  • Creates a property expression that refers to a property of the prediction result dictionary.

    Declaration

    Objective-C

    - (nonnull CBLQueryExpression *)property:(nonnull NSString *)keyPath;

    Parameters

    keyPath

    The key path to the property.

    Return Value

    The property expression referring to a property of the prediction dictionary result.