TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.
MIT License
Bot releases are hidden (Show)
forceEntityConstructor
and JSON properties (5ef57b6), closes #5499
disableIdentityMap
(ed88a02), closes #5527
disableIdentityMap
(8d4fe98), closes #5528
onCreate
with ScalarReference
properties (09e5ca8), closes #5506
Published by B4nan 6 months ago
first/last: 0
with cursor-based pagination (508389e), closes #5501
Published by B4nan 6 months ago
require()
when running via ts-jest or on JSON imports (7e8409b), closes #5461
toPOJO()
(#5481) (46d6eb4), closes #5479
import
types explicitly (02494bf), closes #5462
auto_increment_increment
value (1da88af), closes #5460
Published by B4nan 6 months ago
host
(dc7dc4c), closes #5441
qb.joinAndSelect
(ccdf018), closes #5445
qb.joinAndSelect
with explicit aliasing (da68503), closes #5445
Published by B4nan 6 months ago
https://mikro-orm.io/blog/mikro-orm-6-2-released
@CreateRequestContext
on type level (aacac83)EntityManager
type in em.fork()
(bb1a3f9), closes #5415
Configuration
instance to MikroORM.init
(54a37d0), closes #5413
order by nulls first/last
for raw query fragments in order by keys (a2a8f0d)qb.joinAndSelect()
calls (c2843b9)IType
(#5383) (0e18346)driverOptions
on replica level (05e81f8)UoW.getCollectionUpdates()
(e7bd66f)assign
options configurable globally (bc9f6f5), closes #5410
limit 1
when executing query via getSingleResult()
or execute('get')
(c2b22e8), closes #5379
qb.getLoggerContext()
and qb.setLoggerContext()
(779fa15), closes #5358
updateRule
and deleteRule
for pivot tables (cc69c3c)orm.schema.execute()
to support executing batches (3c5a347)orm.schema.refreshDatabase()
(2e4ab49)Published by B4nan 7 months ago
$and
conditions (8ddb3e4), closes #5368
debug
command (d61e248)EntityManager
or EntityRepository
to @CreateRequestContext
decorator (184cdd4)?
, ?|
and ?&
json operators (#5366) (6418872), closes #4678
Published by B4nan 7 months ago
Published by B4nan 7 months ago
ts-node
when using esm loader (#5332) (23cc880)hasPrev[/Next]Page
when paginating backwards (#5320) (00239eb)schema:update
) (7c8be79), closes #5322
join on
conditions where or
operator (92936ef)onlyOwnProperties
option to assign
helper (#5330) (a081bea), closes #5327
flushMode
is not auto
(fc30bfe)Published by B4nan 7 months ago
em.transactional()
to upper context if its global (7ac9a19), closes #5309
persist: false
as formulas to preserve aliasing (20a4cfb)EntitySchema
generated files (#5311) (f680d66)up
and down
methods to be synchronous (#5316) (dd6daf9)Published by B4nan 8 months ago
null
on unloaded references (1cbead6), closes #5274
qb.getResultAndCount()
when pagination is triggered (67444c0)Published by B4nan 8 months ago
em.addFilter()
fallback signature that allows more than 3 types (b6efd44)populateWhere
conditions (7b6b363)Published by B4nan 8 months ago
Collection.load()
(f5be639), closes #5268
options
parameter in repository.upsert/Many()
(4c12e7f)orderBy
of 1:m and m:n relations (ed80163), closes #5277
auto_increment_increment
(#5280) (c8021da), closes #5279
Published by B4nan 8 months ago
orderBy
option on to-many properties with arrays (fae2302), closes #5265
Published by B4nan 8 months ago
Ref
wrapper on all lazy properties (#5252) (50311cb)qb.getQuery()
is called (f79a752), closes #5247
Published by B4nan 8 months ago
double
or bigint
(b00eae6), closes #5239
Published by B4nan 8 months ago
Published by B4nan 8 months ago
discriminatorColumn
type (d2a016e), closes #5224
parent.*
populate hints (39910ab), closes #5213
postgres-array
(e73fd1a)Published by B4nan 9 months ago
CacheAdapter.get
to return Promise<undefined>
(#5200) (98ce1e5), closes #5199
AutoPath
in TS 5.4 (#5197) (8bbc252)wrap(e, true).__em
correctly typed to EntityManager
(35d607c)upsertMany
options when batching (d6d1381), closes #5209
convertToJSValueSQL
on returning statement of update queries (2e1d6c8), closes #5176
onCreate
and onUpdate
callback (a964aeb), closes #5201
ArrayType
(#5204) (42cc9cc), closes #5188
loggerContext
parameter to em.execute
(b6d46df)Published by B4nan 9 months ago
em.upsert/Many
(5acb4eb), closes #5136
em.insertMany
returns array of PKs for a single item too (#5180) (b9a55e5), closes #5179
assign
on object properties won't ignore changes (bd22d7c), closes #5158
Published by B4nan 9 months ago
PrimaryKeyProp
as optional properties for em.create()
(69522f2), closes #5187
undefined
to null
types in EntityDTO
(d661c68), closes #5186
QueryBuilder
(908864c), closes #5185