sea-orm
SeaORM is a relational database management tool designed to develop web services in Rust. 1-1, 1-N, M-N, and self-referenced complex relationships allow modeling at a conceptual level. It accelerates the creation of REST, GraphQL, and gRPC API with filtering, pagination, and inward query capabilities.
sea-orm
80SeaQL · ORM & Database Tooling
- With the help of the CLI tool from your existing database, you create asset files.
- You develop API services using filtering, pagination, and in-depth queries.
- You can model one-to-one, one-to-many and many-to-many complex relationships.
- ↓ NegativeGitHub Issue
Compact Entity format
“I was trying your crate, seems promising, but the way you choose to represent models is too verbose. For example I've a DB table with 53 fields, using your system I've written like 210 LOC, repeating the same informations like 3 times. I think everything could be done with a…”
- • NeutralGitHub Issue
Entity Generator
“Generating entity file for each db table. - `Entity` - `Model` - mapping db column type to Rust type - `find_*` helper function - `Column` - `ColumnTrait` column def - `PrimaryKey` - `Relation` - `RelationTrait` relation def - `Related` Work plan in progress... ```rust use crate…”