#8282nd of 204 in Backends, databases and hosting
sea-orm
Rust ORM with entity relations, migrations and async or sync APIs
- Stars
- 10k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Sep 2026
- Language
- Rust
9,476 on 25 Apr 20269,976 on 14 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
SeaORM is a Rust ORM built on SQLx and SeaQuery. It maps tables to entities with 1-1, 1-N and M-N relations, loads nested relations without N+1 queries, and persists nested object graphs through ActiveModel. It also includes migrations, an entity-first schema sync mode, a raw SQL macro, and a separate sync crate.
Who it is for: Rust developers building web services on SQL databases
Strengths
- Entity Loader uses joins for 1-1 and batched loading for 1-N, avoiding N+1
- sea-orm-cli generates entity files from an existing database
- Raw SQL macro supports parameter interpolation without string formatting of SQL
- sea-orm-sync crate offers the same API without an async runtime
Weaknesses
- Default features enable no TLS; you must add an SQLx TLS feature yourself
- README describes 2.0 as a release candidate with breaking changes
- SQL Server support is a separate product with commercial access
- Nested ActiveModel requires the 2.0 dense entity format
What it needs
- no GPU
- Needs SQLx, SeaQuery, Tokio (runtime feature), Postgres, MySQL or SQLite
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- Migration fresh command cannot drop types with Postgresql ↗ (opens in a new tab)5 reactions · closed 1 Dec 2025Fixed by Skip drop extension type in fresh ↗ (opens in a new tab)
- Entity generation fails if `model-extra-attributes` include a comma surrounded by parentheses ↗ (opens in a new tab)4 reactions · closed 7 Jun 2026Fixed by fix: entity generation fails with comma in parentheses (#2063) ↗ (opens in a new tab)
- entity sync does not work with postgres when tables have schemas defined ↗ (opens in a new tab)1 reactions · closed 8 Apr 2026Fixed by Fix schema sync not discovering tables in non-default schemas ↗ (opens in a new tab)
- FromQueryResult fails when having nested Option<Model> ↗ (opens in a new tab)1 reactions · closed 24 Jan 2026Fixed by fix: allow LEFT JOIN to produce None for nested models ↗ (opens in a new tab)
- DeriveEntityModel on pub(crate) struct causes visibility errors ↗ (opens in a new tab)0 reactions · closed 31 Mar 2026Fixed by Inherit visibility in derives ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 204| Rank | Project | Score |
|---|---|---|
| 1 | bunJavaScript and TypeScript runtime with bundler, test runner and package manager | 94 out of 100 |
| 2 | coolifySelf-hosted Heroku and Vercel alternative that deploys apps and databases over SSH | 93 out of 100 |
| 3 | strapiHeadless CMS that generates REST and GraphQL APIs from content models | 92 out of 100 |
| #4 | traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators | 92 out of 100 |
| #5 | appwriteBackend with auth, databases, storage, functions and an MCP server for agents | 92 out of 100 |