pub struct SqliteStore { /* private fields */ }Expand description
Relational reference store (SQLite). Events and snapshots are stored as canonical JSON next to a few indexed columns used for lookups. The schema is internal to this store; applications must not depend on it.
Implementations§
Trait Implementations§
Source§impl Store for SqliteStore
impl Store for SqliteStore
Source§fn history(&self, id: &RecordId) -> Result<Vec<Event>>
fn history(&self, id: &RecordId) -> Result<Vec<Event>>
Full history of a record, ordered by sequence.
fn event_by_idempotency_key(&self, key: &str) -> Result<Option<Event>>
Auto Trait Implementations§
impl !Freeze for SqliteStore
impl !RefUnwindSafe for SqliteStore
impl !Sync for SqliteStore
impl !UnwindSafe for SqliteStore
impl Send for SqliteStore
impl Unpin for SqliteStore
impl UnsafeUnpin for SqliteStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more