MikroORM logo

MikroORM

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

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?

Companies

Developers
6 developers on StackShare have stated that they use MikroORM.

MikroORM Integrations

Pros of MikroORM
2
Supports both SQL and NoSQL
2
Typescript
2
DRY Entities
2
Allows multiple ways to define entities
1
EntityGenerator to reverse engineer existing database
1
SQL layer built on top of Knex
1
Powered by Unit of Work and Identity Map
1
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
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
Sequelize
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
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.