TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. MikroORM allows handling transactions automatically. When you call em.flush(), all computed changes are wrapped inside a database transaction. Uses source code analysis so you do not have to repeat yourself when defining entities. Simply define correct TypeScript types and you are good to go! Supports MongoDB, MySQL, MariaDB, PostgreSQL and SQLite databases, and more can be supported via custom drivers right now. Keep your schema in sync with SchemaGenerator and Migrator. Supports both up and down migrations. With the Seeder and seeding factories, we can generate fake data of any volume/shape and seed the database with ease. Thanks to the UnitOfWork, all queries it fires are automatically batched. Inserts, updates, deletes - you name it! Powerful event system allows to hook into not only the entity lifecycle. Want to alter how the UnitOfWork works? Try onFlush event!

Features

  • Automatic Batching
  • Supports both SQL and NoSQL
  • DRY Entities
  • Implicit Transactions
  • QueryBuilder
  • Define and control your common filters globally

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Mikro Orm

Mikro Orm Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mikro Orm!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Database Software, TypeScript Object-Relational Mapping (ORM) Software

Registered

2022-07-15