A class encompassing functionality relating to the embedded storage. This is not a class you instantiate directly. Instead you access DittoStore
objects using DittoSyncKit.Store.
More...
A class encompassing functionality relating to the embedded storage. This is not a class you instantiate directly. Instead you access DittoStore
objects using DittoSyncKit.Store.
◆ Collection()
DittoCollection Ditto.SyncKit.DittoStore.Collection |
( |
string |
collectionName | ) |
|
|
inline |
◆ Write()
Allows you to group multiple operations together that affect multiple documents, potentially across multiple collections.
- Parameters
-
handler | An Action that provides access to a write transaction object that can be used to perform operations on the store. |
- Returns
- A list ofDittoWriteTransactionResult objects. There is a result for each operation performed as part of the write transaction.
◆ CollectionNames
unsafe List<string> Ditto.SyncKit.DittoStore.CollectionNames |
|
get |
Gets the names of all collections known about on this device.
Note, this will return immediately what is in the store.
◆ this[string collectionName]
Retrieve a DittoCollection
. var collection = dittoSyncKit.store["cars"];
- Parameters
-
collectionName | The name of the collection. |
- Returns
- A reference to the
DittoCollection
.