Returns the ID of the document.
Returns the document path at a specified key.
Returns the content (aka value) of the document.
Returns the content (aka inner value) of a document at the given path.
Support for JSON-stringifying a document directly.
Returns a byte representation of the document ID value as base64 string.
Returns a hash that represents the passed in document(s).
Returns a pattern of words that together create a mnemonic, which represents the passed in document(s).
Returns the ID for a document.
Returns a document path object for a given key for a document.
Returns a string representation of the passed in document ID value.
The returned string can be used directly in queries that you use with other Ditto functions. For example you could create a query that was like this:
collection.find(`_id == ${Document.stringForID(documentID)}`)
Returns the content (aka inner value) of a document.
Returns the content (aka inner value) of a document at the given path.
A document belonging to a Collection with an inner value.