CBLQueryChange

@interface CBLQueryChange : NSObject

CBLQueryChange contains the information about the query result changes reported by a live query object.

  • The source live query object.

    Declaration

    Objective-C

    @property (readonly, nonatomic) CBLQuery *_Nonnull query;

    Swift

    var query: CBLQuery { get }
  • The new query result.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) CBLQueryResultSet *results;

    Swift

    var results: CBLQueryResultSet? { get }
  • The error occurred when running the query.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSError *error;

    Swift

    var error: Error? { get }
  • Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;