MikroORM logo


TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns
+ 1

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 3.3K GitHub stars and 194 GitHub forks. Here’s a link to MikroORM's open source repository on GitHub

Who uses MikroORM?


6 developers on StackShare have stated that they use MikroORM.

MikroORM Integrations

Pros of MikroORM
Supports both SQL and NoSQL
DRY Entities
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

MikroORM's Features

  • Implicit Transactions
  • DRY Entities
  • Supports both SQL and NoSQL
  • Clean and Simple Entity Definition
  • Identity Map
  • Entity References
  • Using Entity Constructors
  • Modelling Relationships
  • Collections
  • Unit of Work
  • Transactions
  • 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?
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
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.
Entity Framework
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.
Doctrine 2
Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL.
See all alternatives

MikroORM's Followers
33 developers follow MikroORM to keep up with related blogs and decisions.