Returns the ID of the document.
Convenience method, equvalent to obtaining a MutableDocumentPath
for
the passed in keyPath
via pathAt() followed by
increment() on that.
Returns the mutable document path at a specified key.
Increments the counter of mutableDocument
at the given keyPath
.
Returns the content (aka value) of the document. What you actually get is a proxy that you can freely manipulate and Ditto will register the changes, commiting them at the end of the update closure.
Returns the content (aka inner value) of a document at the given path. If the value is a dictionary or an array, what you actually get is a proxy that you can freely manipulate and Ditto will register the changes, commiting them at the end of the update closure.
Returns the ID for a mutable document.
Increments the counter of mutableDocument
at the given keyPath
.
Returns a mutable document path object for a given key-path for a mutable document.
Turns the value of mutableDocument
at the given keyPath
into a counter.
Returns the content (aka inner value) of a mutable document.
Returns the content (aka inner value) of a document at the given path.
A representation of a Document that can be mutated via MutableDocumentPath. You don't create or interact with a
MutableDocument
direclty but rather through our proxy-based subscripting API exposed within theupdate()
methods of PendingCursorOperation and PendingIDSpecificOperation.