Ditto
1.1.1
|
A class encompassing functionality relating to the embedded storage. This is not a class you instantiate directly. Instead you access DittoStore
objects using Ditto.Store.
More...
Public Member Functions | |
DittoPendingCollectionsOperation | Collections () |
Returns an object that lets you fetch or observe the collections in the store. More... | |
DittoCollection | Collection (string collectionName) |
A method to reference a DittoCollection . More... | |
unsafe List< DittoWriteTransactionResult > | Write (Action< DittoWriteTransaction > handler) |
Allows you to group multiple operations together that affect multiple documents, potentially across multiple collections. More... | |
Properties | |
unsafe List< string > | CollectionNames [get] |
Gets the names of all collections known about on this device. More... | |
DittoCollection | this[string collectionName] [get] |
Retrieve a DittoCollection . var collection = ditto.store["cars"]; More... | |
A class encompassing functionality relating to the embedded storage. This is not a class you instantiate directly. Instead you access DittoStore
objects using Ditto.Store.
|
inline |
A method to reference a DittoCollection
.
collectionName | The name of the collection. |
DittoCollection
.
|
inline |
Returns an object that lets you fetch or observe the collections in the store.
|
inline |
Allows you to group multiple operations together that affect multiple documents, potentially across multiple collections.
handler | An Action that provides access to a write transaction object that can be used to perform operations on the store. |
|
get |
Gets the names of all collections known about on this device.
Note, this will return immediately what is in the store.
|
get |
Retrieve a DittoCollection
. var collection = ditto.store["cars"];
collectionName | The name of the collection. |
DittoCollection
.