The metadata of a document, such as its DocID; returned by the function meta. For example:
const docID = meta(doc).id; Copy
const docID = meta(doc).id;
The document schema; will be the same as in the CBLDocument argument to meta().
meta()
Readonly
The document itself.
The collection that the document belongs to.
The ID (primary key) of the document.
The current revision ID of the document.
The current sequence number of the document.
Replaces the document's properties with a copy of newBody.
newBody
The metadata of a document, such as its DocID; returned by the function meta. For example: