#107107th of 326 in Backends, databases and hosting
mikro-orm
TypeScript ORM for Node.js with Unit of Work and Identity Map
- Stars
- 9.3k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- TypeScript
8,953 on 2 May 20269,277 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
MikroORM is a Data Mapper ORM for TypeScript and Node.js that tracks entity changes through an Identity Map and Unit of Work, then writes them in one transaction on em.flush(). It has drivers for PostgreSQL, MySQL, MariaDB, SQLite, libSQL, MongoDB, MSSQL and Oracle. It is a general database library with no AI features, so it fits this list only as a data-layer dependency.
Who it is for: TypeScript developers who need a database layer for Node.js apps
Strengths
- Drivers for ten databases, including PGlite, libSQL, MongoDB, MSSQL and Oracle
- Unit of Work batches all tracked changes into one transaction on flush()
- Includes migrations, schema generator, entity generator and seeding
- Entities can be defined with defineEntity, decorators or EntitySchema
Weaknesses
- Not an AI project; no model, agent or LLM functionality
- Needs RequestContext per request in web apps to isolate the identity map
- Library only; no hosted backend, auth or storage layer
- Separate driver package per database; extra packages need @mikro-orm/core installed explicitly
What it needs
- no GPU
- Compose
- Needs Node.js, PostgreSQL, MySQL, MariaDB, SQLite, libSQL, MongoDB, MSSQL or Oracle
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
- Cannot join entities with custom join columns ↗ (opens in a new tab)10 reactions · closed 21 Jan 2026Fixed by feat(core): support FKs pointing to non-PK columns via `targetKey` option ↗ (opens in a new tab)
- Embeddable array of objects cannot be searched by properties ↗ (opens in a new tab)7 reactions · closed 10 Mar 2026Fixed by feat(sql): transparent querying of embedded array properties ↗ (opens in a new tab)
- STI subclass @ManyToOne override crashes metadata discovery ↗ (opens in a new tab)2 reactions · closed 23 Apr 2026Fixed by fix(core): avoid crash on STI subclass @ManyToOne override targeting same hierarchy ↗ (opens in a new tab)
- Schema create/update fails when schema contains views with comments ↗ (opens in a new tab)1 reactions · closed 14 Jun 2026Fixed by fix(sql): strip comments from view definitions in schema generator ↗ (opens in a new tab)
- orm.schema.clear() fails when views exist ↗ (opens in a new tab)1 reactions · closed 14 Jun 2026Fixed by fix(core): skip view entities in schema.clear() ↗ (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 326| Rank | Project | Score |
|---|---|---|
| #105 | databendRust data warehouse with SQL analytics, vector and full-text search on object storage | 78 out of 100 |
| #106 | nhostOpen-source Firebase alternative on Postgres, Hasura GraphQL, auth and storage | 78 out of 100 |
| #108 | cheKubernetes-hosted cloud development workspaces with a web IDE, defined by devfiles | 78 out of 100 |
| #109 | hexclaveAuth, teams, payments, emails and analytics service for app users | 78 out of 100 |
| #110 | inngestDurable step functions and event-driven job queue with a local dev server | 78 out of 100 |