Expand description
Core contracts and shared types for the ORM.
Structs§
- Column
Metadata - Per-column metadata generated from entity definitions.
- Column
Value - Column/value pair produced by insert and update models.
- Crate
Identity - Minimal crate identity metadata used while the rest of the model is defined.
- Entity
Column - Static column symbol generated for entities and consumed later by the query builder.
- Entity
Metadata - Static metadata describing an entity.
- Entity
Policy Metadata - Static metadata exposed by a reusable entity policy.
- Foreign
KeyMetadata - Foreign key metadata attached to an entity.
- Identity
Metadata - Metadata for SQL Server identity columns.
- Index
Column Metadata - Columns participating in an index and their sort direction.
- Index
Metadata - Index metadata attached to an entity.
- Navigation
Metadata - Navigation property metadata attached to an entity.
- Primary
KeyMetadata - Primary key metadata for an entity.
Enums§
- Navigation
Kind - Relationship direction represented by a navigation property.
- OrmError
- Common error type placeholder for the workspace foundations.
- Referential
Action - Delete/update behavior for foreign keys.
- SqlServer
Type - SQL Server types supported by the metadata layer.
- SqlValue
- Neutral SQL value representation shared across query compilation and execution layers.
Constants§
Traits§
- Changeset
- Stable contract for extracting changed values for updates.
- Entity
- Stable contract implemented by persisted entities.
- Entity
Policy - Stable contract for reusable code-first policies that contribute normal columns.
- FromRow
- Stable contract for mapping a SQL row into a Rust type.
- Insertable
- Stable contract for extracting persisted values for inserts.
- Row
- Row abstraction used by the core mapping contracts without depending on Tiberius.
- SqlType
Mapping - Base Rust <-> SQL Server mapping contract used by row readers and persistence models.