DITSingleDocumentLiveQueryEvent
@interface DITSingleDocumentLiveQueryEvent : NSObject
Provides information about a live query event relating to a single document live query.
-
Whether or not the event is the initial event delivered as part of an
observe
orobserveLocal
call.Declaration
Objective-C
@property (nonatomic, readonly) BOOL isInitial;
-
The old representation of the document with the relveant document ID.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DITDocument *oldDocument;
-
Returns a hash that represents the document.
Declaration
Objective-C
- (uint64_t)hash:(nullable DITDocument *)document;
-
Returns a pattern of words that together create a mnemonic, which represents the document
Declaration
Objective-C
- (nonnull NSString *)hashMnemonic:(nullable DITDocument *)document;