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::row::Row;

Modules

Implementation of a aggregator functions
This module defines the conditional statements
This module defines the main API wrapper.
Error type to simplify propagating different error types.
This module defines a wrapper for sqlx’s Executor
Implementation of JOIN statements
Implementation of limit clauses
Implementation of ORDER BY expressions
This module defines a wrapper for sqlx’s AnyRow
Implementation of identifiers in select queries
This module holds the definition of transactions
Implementation of supported datatypes

Macros

This macro is used to simplify the creation of conjunctive Conditions. It takes a variadic amount of conditions and places them in a Condition::Conjunction.
This macro is used to simplify the creation of disjunctive Conditions. It takes a variadic amount of conditions and places them in a Condition::Disjunction.

Enums

The representation of all supported DB drivers