CBLReadOnlyDocument
@interface CBLReadOnlyDocument : CBLReadOnlyDictionary
Readonly version of the CBLDocument.
-
The document’s ID.
Declaration
Objective-C
@property (readonly, nonatomic) NSString *id;
-
Is the document deleted?
Declaration
Objective-C
@property (readonly, nonatomic) BOOL isDeleted;
-
Sequence number of the document in the database. This indicates how recently the document has been changed: every time any document is updated, the database assigns it the next sequential sequence number. Thus, if a document’s
sequence
property changes that means it’s been changed (on-disk); and if one document’ssequence
is greater than another’s, that means it was changed more recently.Declaration
Objective-C
@property (readonly, nonatomic) uint64_t sequence;
-
Undocumented
Declaration
Objective-C
@interface CBLReadOnlyDocument : CBLReadOnlyDictionary