ReadonlycollectionThe collection the receiver is operating on.
ReadonlydocumentIDThe ID of the document this operation operates on.
Evicts the document with the matching ID.
true promise if the document was found and evicted. false
promise if the document wasn't found and therefore wasn't evicted.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
Executes the find operation to return the document with the matching ID.
The Document promise with the ID provided in the
findByID() call or undefined if the document was
not found.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
Removes the document with the matching ID.
true promise if the document was found and removed. false
promise if the document wasn't found and therefore wasn't removed.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
Updates the document with the matching ID.
Document values must not be set to any non-finite numbers (NaN,
Infinity, -Infinity).
A closure that gets called with the document matching the ID. If found, the document is a MutableDocument, so you can call update-related functions on it. The closure is not called if the document is not found.
An array promise of update results that describe the updates that were performed on the document.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
Updates the document with the matching ID.
Document values must not be set to any non-finite numbers (NaN,
Infinity, -Infinity).
A closure that gets called with the document matching the
ID. If found, the document is a MutableDocument, so you can call
update-related functions on it. If the document is not found then the value
provided to the closure will be undefined.
Optionaldocument: MutableDocumentAn array promise of update results that describe the updates that were performed on the document.
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption
Deprecated
Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption