Crate rorm_db

Source
Expand description

This crate is used as language independent base for building an orm.

Rust specific features will be exposed through the rorm crate. rorm-lib implements C bindings for this crate.

Re-exports§

pub use crate::database::Database;
pub use crate::database::DatabaseConfiguration;
pub use crate::error::Error;
pub use crate::executor::Executor;
pub use crate::row::Row;

Modules§

choice
Wrapper around string which is decodable as an enum
database
Database struct and several common operations
error
Error type to simplify propagating different error types.
executor
This module defines a wrapper for sqlx’s Executor
row
This module defines a wrapper for sqlx’s AnyRow
sql
Re-export rorm-sql
transaction
This module holds the definition of transactions

Enums§

DatabaseDriver
The representation of all supported DB drivers