MikroORM logo

MikroORM

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

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

Who uses MikroORM?

Companies
7 companies reportedly use MikroORM in their tech stacks, including Unibuddy, Backend, and L3V3L.

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

MikroORM Integrations

Pros of MikroORM
5
Typescript
4
Supports both SQL and NoSQL
3
Powered by Unit of Work and Identity Map
3
Allows multiple ways to define entities
3
DRY Entities
2
Implicit Transactions
2
SQL layer built on top of Knex
2
EntityGenerator to reverse engineer existing database

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?
MySQL
The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
PostgreSQL
PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
Redis
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
Amazon S3
Amazon Simple Storage Service provides a fully redundant data storage infrastructure for storing and retrieving any amount of data, at any time, from anywhere on the web
See all alternatives

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