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§
- __
mock_ Mock Xmtp Db - __
mock_ Mock Xmtp Db_ Xmtp Db - association_
state - consent_
record - conversation_
list - database
- db_
connection - group
- The Group database table. Stored information surrounding group membership and ID’s.
- group_
intent - group_
message - icebox
- identity
- identity_
cache - identity_
update - key_
package_ history - key_
store_ entry - local_
commit_ log - message_
deletion - migrations
- pending_
remove - pragmas
- Check that certain pragmas are set
- processed_
device_ sync_ messages - readd_
status - refresh_
state - remote_
commit_ log - schema
- store
- tasks
- user_
preferences
Structs§
- Mock
Xmtp Db - 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