Creates a document in the given storage.
Creates multiple documents in the given storage, each item in the array becomes a document.
Deletes the given document from the given storage permanently and unrecoverably.
Moves documents from one storage to another. Moved documents can still be found in the old storage (removed and with expiry) for 36 hours
Removes the given document from the given storage.
Removes multiple documents from the given storage.
Restores a single document from the removed state and adds a revisions for this modification.
Restores multiple documents from the removed state.
searches in the given storage based on a query.
returns array of existing and non-existing documents in a given storage from an array of objects.
searches in the given storage based on a query and returns maximum one result.
streams the results of the search in the given database based on a query to a function.
Updates the expiry of the given document from the given storage.
Update document in the given storage and creates a revision for it.
set fieldsto set existing/update fields.
Updates multiple documents in the given storage and creates mass-revisions for it, mass-revisions do not include their previous value.
Using the given timestamp will wait for the document to be present in search.
Event is executed when the storage receives an event relevent update (removed, created, updated or saved).