Ditto Collection
A reference to a collection in a DittoStore.
Functions
Trigger an attachment to be downloaded locally to the device and observe its progress as it does so.
Generates a DittoPendingCursorOperation with the provided query that can be used to find the documents matching the query at a point in time or you can chain a call to observeLocal
or subscribe
if you want to get updates about documents matching the query as they occur.
Generates a DittoPendingCursorOperation with the provided query that can be used to find the documents matching the query at a point in time or you can chain a call to observeLocal
, subscribe
if you want to get updates about documents matching the query as they occur.
Generates a DittoPendingCursorOperation that can be used to find all documents in the collection at a point in time or you can chain a call to observeLocal
or subscribe
if you want to get updates about documents in the collection over time.
Generates a DittoPendingIdSpecificOperation with the provided document identifier that can be used to find the document at a point in time or you can chain a call to observeLocal
or subscribe
if you want to get updates about the document over time.
Creates a new attachment, which can then be inserted into a document.
Inserts a new document into the collection and returns its identifier. If the document already exists, the behavior is determined by the given writeStrategy
.