Need advice about which tool to choose?Ask the StackShare community!

MikroORM

12
52
+ 1
22
Sequelize

759
1.3K
+ 1
124
Add tool

Sequelize vs MikroORM: What are the differences?

What is Sequelize? Easy-to-use multi SQL dialect ORM for 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.

What is MikroORM? TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL and SQLite databases.

Sequelize and MikroORM belong to "Object Relational Mapper (ORM)" category of the tech stack.

Sequelize and MikroORM are both open source tools. It seems that Sequelize with 21.4K GitHub stars and 3.34K forks on GitHub has more adoption than MikroORM with 705 GitHub stars and 40 GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of MikroORM
Pros of Sequelize
  • 4
    Typescript
  • 4
    Supports both SQL and NoSQL
  • 3
    Allows multiple ways to define entities
  • 3
    DRY Entities
  • 2
    Implicit Transactions
  • 2
    Powered by Unit of Work and Identity Map
  • 2
    SQL layer built on top of Knex
  • 2
    EntityGenerator to reverse engineer existing database
  • 37
    Good ORM for node.js
  • 26
    Easy setup
  • 17
    Support MySQL & MariaDB, PostgreSQL, MSSQL, Sqlite
  • 13
    Open source
  • 12
    Free
  • 11
    Promise Based
  • 4
    Recommend for mongoose users
  • 2
    Typescript
  • 2
    Atrocious documentation, buggy, issues closed by bots

Sign up to add or upvote prosMake informed product decisions

Cons of MikroORM
Cons of Sequelize
    Be the first to leave a con
    • 28
      Docs are awful
    • 8
      Relations can be confusing

    Sign up to add or upvote consMake informed product decisions

    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.

    What is 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.

    Need advice about which tool to choose?Ask the StackShare community!

    Jobs that mention MikroORM and Sequelize as a desired skillset
    CBRE
    United States of America Massachusetts Boston
    What companies use MikroORM?
    What companies use Sequelize?
    See which teams inside your own company are using MikroORM or Sequelize.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with MikroORM?
    What tools integrate with Sequelize?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to MikroORM and Sequelize?
    Hibernate
    Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
    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.
    Dapper
    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.
    Entity Framework Core
    It is a lightweight, extensible, open source and cross-platform version of the popular Entity Framework data access technology. It can serve as an object-relational mapper (O/RM), enabling .NET developers to work with a database using .NET objects, and eliminating the need for most of the data-access code they usually need to write.
    See all alternatives