ποΈ Identity Map
MikroORM uses identity map in background, so we will always get the same instance of one entity.
ποΈ Collections
OneToMany and ManyToMany properties are stored in a Collection wrapper.
ποΈ Type-Safe Relations
Entity relations are mapped to entity references - instances of the entity that have at least the primary key available. This reference is stored in identity map, so you will get the same object reference when fetching the same document from database.
ποΈ Entity Repository
Entity Repositories are thin layers on top of EntityManager. They act as an
ποΈ Transactions and Concurrency
Starting v3.4, transactions are also supported in MongoDB driver.
ποΈ Inheritance Mapping
Mapped Superclasses
ποΈ Cascading
From v4.2, cascade merging is no longer configurable (and is kept enabled for all relations).
ποΈ Filters
MikroORM has the ability to pre-define filter criteria and attach those filters
ποΈ Deployment
Under the hood, MikroORM uses ts-morph to read
ποΈ Using Query Builder
or EntityRepository to have access to createQueryBuilder() method.
ποΈ Result cache
MikroORM has simple result caching mechanism. It works with those methods of
ποΈ Logging
For development purposes it might come handy to enable logging and debug mode: