CBLDocumentFragment

@interface CBLDocumentFragment : NSObject <CBLDictionaryFragment>

CBLDocumentFragment provides access to a document object. CBLDocumentFragment also provides subscript access by either key or index to the data values of the document which are wrapped by CBLFragment objects.

  • Checks whether the document exists in the database or not.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL exists;
  • Gets the document from the document fragment object.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) CBLDocument *document;
  • Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;