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 column::ColumnDef;
pub use error::DataError;
pub use error::DbError;
pub use pool::Pool;
pub use table::TableDef;
pub use chrono;
pub use uuid;
pub use rustorm_dao;
Modules§
- codegen
- Wrap the rustorm_codegen exports to avoid name conflict with the rustorm_dao
- column
- common
- dao
- Wrap the rustorm_dao exports to avoid name conflict with the rustorm_codegen
- error
- pool
- table
- types
- util
Structs§
- Column
Name - Dao
- DaoManager
- an interface executing sql statement and getting the results as generic DAO values without any further conversion.
- Database
Name - The current database name and its comment
- Entity
Manager - Rows
- use this to store data retrieved from the database
This is also slimmer than Vec
when serialized - Table
Name - Uuid
- A Universally Unique Identifier (UUID).
Enums§
- Array
- Convert
Error - DBPlatform
- Value
- 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§
- Database
- From
Value - ToValue
- A trait to allow passing of parameters ergonomically in em.execute_sql_with_return