Expand description
Runtime library shipped with the user’s application.
This crate provides everything the generated ferriorm client needs at runtime:
client::DatabaseClient– connection pool wrapper (PostgreSQL + SQLite)filter– type-safe filter structs (StringFilter,IntFilter, …)query::SqlBuilder– parameterized SQL builder supporting$1and?stylesorder–SortOrderandOrderByClausetraittransaction– transaction execution helperserror::FerriormError– unified error type
A prelude module re-exports the most commonly used items.
§Related crates
ferriorm_core– domain types (this crate does not depend onferriorm-coreat runtime; the generated code bridges the two).ferriorm_codegen– generates code that depends on this crate.
Modules§
- client
- Database connection pool wrapper.
- error
- Unified error type for ferriorm runtime operations.
- filter
- Type-safe filter types for query WHERE clauses.
- order
- Ordering support for query results.
- prelude
- query
- Parameterized SQL query builder.
- transaction
- Database transaction support.
Enums§
- SetValue
- Wrapper for update operations: distinguishes “not set” from “set to value”.