Crate clia_rustorm
source · [−]Expand description
Rustorm
Rustorm is an SQL-centered ORM with focus on ease of use on conversion of database types to their appropriate rust type.
Selecting records
Re-exports
pub use chrono;
pub use column::ColumnDef;
pub use error::DataError;
pub use error::DbError;
pub use pool::Pool;
pub use table::TableDef;
pub use uuid;
pub use clia_rustorm_dao;
Modules
Wrap the rustorm_codegen exports to avoid name conflict with the rustorm_dao
Wrap the rustorm_dao exports to avoid name conflict with the rustorm_codegen
Structs
an interface executing sql statement and getting the results as generic DAO values
without any further conversion.
The current database name and its comment
use this to store data retrieved from the database
This is also slimmer than Vec when serialized
A Universally Unique Identifier (UUID).
Enums
Generic value storage 32 byte in size
Some contains the same value container, but the variant is more
important for type hinting and view presentation hinting purposes
Traits
A trait to allow passing of parameters ergonomically
in em.execute_sql_with_return