Expand description
§RemodelCore
Engine for database modeling: build conceptual (Entity-Relationship) models, normalize them into logical (relational) models, and emit SQL DDL for the major dialects.
remodel-core is a Rust reimplementation of the modeling engine of
brModelo by Carlos Henrique Cândido.
See the crate README.md for credits and licensing.
The crate is organized in three layers, mirroring the three model “levels” used in database design:
models::conceptual— Entity-Relationship structuresmodels::logical— relational (table-and-constraint) structuressql— physical DDL generation perSqlDialect
Transformations between levels live in transform, and structural
checks in validation.
Re-exports§
Modules§
- error
- Error types returned by RemodelCore.
- format
- On-disk serialization helpers.
- models
- Core data structures shared by the modeling layers.
- prelude
- Convenient re-exports for downstream users.
- sql
- SQL DDL generation for the supported dialects.
- transform
- Transformations between modeling levels.
- validation
- Structural validation of conceptual and logical models.
Constants§
- VERSION
- Crate version, useful when persisting model files that need a writer tag.