Skip to main content

Crate rbox_db

Crate rbox_db 

Source
Expand description

Shared database model operations, ordering, and relationship loading.

Re-exports§

pub use connection::create_connection_pool;
pub use connection::establish_connection;
pub use connection::ConnectionOptions;
pub use connection::DbConn;
pub use connection::DbPool;
pub use connection::JournalMode;
pub use connection::OpenMode;
pub use connection::Synchronous;
pub use model::Model;
pub use model::ModelDelete;
pub use model::ModelInsert;
pub use model::ModelUpdate;
pub use ordering::build_tree_list;
pub use ordering::delete_tree_batch;
pub use ordering::ordering_error;
pub use ordering::tree_delete_roots;
pub use ordering::validate_seq_numbers;
pub use ordering::ModelList;
pub use ordering::ModelTree;
pub use ordering::NodeRef;
pub use ordering::OrderedModel;
pub use ordering::TreeNode;
pub use ordering::TreeSeq;
pub use relations::ModelRelations;

Modules§

connection
Connection types and configuration shared by the Rekordbox database formats.
error
Shared database errors and the database result alias.
model
Basic query, insertion, update, and deletion traits shared by database models.
ordering
Ordered database collections and in-memory trees shared by both database formats.
relations
Explicit relationship loading into detached model snapshots.