Module dittolive_ditto::store::dql

source ·

Structs

  • DQL query statement
  • Arguments that can be used with an associated Query. Currently QueryArguments can only be created from types that implement serde::Serialize.
  • Represents results returned when executing a DQL query containing a QueryResultItem for each match.
  • Represents a single match of a DQL query, similar to a “row” in SQL terms. It’s a reference type serving as a “cursor”, allowing for efficient access of the underlying data in various formats.
  • A change observer invokes a change handler whenever results for its query change.
  • Create a replication subscription to receive updates from remote peers about documents matching the replication subscription’s query.

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.