Module dittolive_ditto::store

source ·
Expand description

Use ditto.store() to access the Store API to read, write, and remove documents.

The Store provides two interfaces for interacting with data: Ditto Query Language (DQL), and the legacy “Query Builder” API. Where possible, we recommend developing new functionality using DQL, as we will eventually deprecate Query Builder.

Modules§

  • Use attachments to sync large binary files between peers.
  • The original data API for Ditto uses a builder syntax to execute queries.

Structs§

Enums§

Traits§

  • An alias for FnMut(QueryResult) + Send + 'static. A change handler is called whenever an active store observer receives new results.
  • An alias for FnMut(QueryResult, Box<dyn Send + SignalNext>) + Send + 'static. A change handler is called whenever an active store observer receives new results.
  • An alias for FnOnce() + Send + 'static. A callback used to signal that the observer is ready to handle new events.