Expand description
The data layer: expressive model ergonomics over SeaORM.
Re-exports§
pub use db::Db;pub use db::Handle;pub use db::WithDatabase;pub use db::WithRollbackDatabase;pub use factory::Factory;pub use factory::FactoryBuilder;pub use hooks::Hooks;pub use migration::MigrationState;pub use model::ColumnRef;pub use model::Paginated;pub use model::Query;pub use model::Record;pub use model::Relatable;pub use model::delete_by_id;pub use model::insert;pub use model::insert_without_hooks;pub use model::update;pub use relations::Relations;pub use relations::set_strict_relations;pub use relations::strict_relations;pub use schema::Column;pub use schema::Table;pub use luxid_core::Error;pub use luxid_core::Result;pub use sea_orm_migration;pub use sea_orm;
Modules§
- db
- The database handle and the request-scoped connection.
- factory
- Model factories.
- hooks
- Model lifecycle hooks.
- loading
- Batched relation loading.
- migration
- Migrations.
- model
- Eloquent-flavoured model operations over SeaORM entities.
- relations
- Loaded relations, carried on the model itself.
- schema
- Reading the live database’s shape.
Macros§
- with_
connection - Run a query against whichever handle is in scope.