DittoStore

DittoStore provides access to DittoCollections and a write transaction API.

  • Returns a DittoCollection with the provided name.

  • Returns a DittoCollection with the provided name.

  • Returns a list of the names of collections in the store.

  • Returns an object that lets you fetch or observe the collections in the store.

  • Returns a hash representing the current version of the given queries. When a document matching such queries gets mutated, the hash will change as well.

    Please note that the hash depends on how queries are constructed, so you should make sure to always compare hashes generated with the same set of queries.

  • Returns a sequence of English words representing the current version of the given queries. When a document matching such queries gets mutated, the words will change as well.

    Please note that the resulting sequence of words depends on how queries are constructed, so you should make sure to always compare hashes generated with the same set of queries.

  • Allows you to group multiple operations together that affect multiple documents, potentially across multiple collections.