Expand description
A durable object store powered by Sqlite and Diesel.
Provides mechanism to store objects between sessions. The behavior of the store can be tailored
by choosing an appropriate StoreOption.
§Migrations
Table definitions are located <PackageRoot>/migrations/. On initialization the store will see
if there are any outstanding database migrations and perform them as needed. When updating the
table definitions schema.rs must also be updated. To generate the correct schemas you can run
diesel print-schema or use cargo run update-schema which will update the files for you.
Re-exports§
pub use self::db_connection::DbConnection;pub use database::*;pub use store::*;
Modules§
- association_
state - consent_
record - conversation_
list - database
- db_
connection - delivery
- Database-local message order and fenced default-consumer progress.
- group
- The Group database table. Stored information surrounding group membership and ID’s.
- group_
intent - group_
message - identity
- identity_
cache - identity_
update - incoming_
envelope - Durable receipt and ordered processing positions for network envelopes.
- key_
package_ history - key_
store_ entry - local_
commit_ log - message_
deletion - migrations
- notifications
- Durable notification configuration and confirmed subscription uploads.
- pending_
remove - pragmas
- Check that certain pragmas are set
- processed_
device_ sync_ messages - readd_
status - refresh_
state - remote_
commit_ log - schema
- server_
configuration - The one row that binds this database to one backend deployment.
- store
- stream_
storage - Shared transaction and error types for durable client streams.
- tasks
- user_
preferences
Structs§
- Encryption
Key - Sqlite
- The SQLite backend
- Sqlite
Connection - Connections for the SQLite backend. Unlike other backends, SQLite supported connection URLs are:
Enums§
Constants§
Traits§
- Connection
Ext - Migration
Source - A migration source is an entity that can be used to receive a number of migrations from.
- MlsProvider
Ext - XmtpDb