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 5.1K GitHub stars and 334 GitHub forks. Here’s a link to MikroORM's open source repository on GitHub
Who uses MikroORM?
4 companies reportedly use MikroORM in their tech stacks, including Unibuddy, Backend, and Back-End.
8 developers on StackShare have stated that they use MikroORM.
Pros of MikroORM
Supports both SQL and NoSQL
Allows multiple ways to define entities
EntityGenerator to reverse engineer existing database
SQL layer built on top of Knex
Powered by Unit of Work and Identity Map
- 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
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
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.
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
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.
It is an object-relational mapping product for the Microsoft.NET platform: it provides a framework for mapping an object-oriented domain model to a traditional relational database.