What is MikroORM?
TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL and SQLite databases.
MikroORM is a tool in the Object Relational Mapper (ORM) category of a tech stack.
MikroORM is an open source tool with 6.5K GitHub stars and 424 GitHub forks. Here’s a link to MikroORM's open source repository on GitHub
Who uses MikroORM?
5 companies reportedly use MikroORM in their tech stacks, including Unibuddy, Backend, and L3V3L.
9 developers on StackShare have stated that they use MikroORM.
Pros of MikroORM
Supports both SQL and NoSQL
Powered by Unit of Work and Identity Map
Allows multiple ways to define entities
SQL layer built on top of Knex
EntityGenerator to reverse engineer existing database
- Implicit Transactions
- DRY Entities
- Supports both SQL and NoSQL
- Clean and Simple Entity Definition
- Identity Map
- Entity References
- Using Entity Constructors
- Modelling Relationships
- Unit of Work
- Cascading persist and remove
- Using QueryBuilder
- Preloading Deeply Nested Structures via populate
- Property Validation
- Lifecycle Hooks
- Vanilla JS Support
- Schema Generator
- Entity Generator
MikroORM Alternatives & Comparisons
What are some alternatives to MikroORM?
See all alternatives
It is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
Prisma is an open-source database toolkit. It replaces traditional ORMs and makes database access easy with an auto-generated query builder for TypeScript & Node.js.
Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.