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
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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