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)
Published by B4nan almost 2 years ago
em.upsert()
when entity is already in context (f590b79), closes #3667
$fulltext
search correctly in nested queries (9a2f535), closes #3696
returning
clause (35d51fe), closes #3664
postgres
database does not exist (b1a867d), closes #3671
em.repo()
shortcut (feebd7c)EntityOptions.repository
shortcut (2cbb129)EntityRepository.upsert()
shortcut (31d6d77)ref
alias for wrappedReference
relation property option (249a407)Rel<T>
and Ref<T>
relation types (44acefb)Type.convertToDatabaseValue()
(a933e98), closes #3567
@OneToOne
as options (115462d)assign
(6045511), closes #3654
create
(bb9f8d9), closes #3654
em.upsert()
(3cf79d6), closes #3656
Published by B4nan almost 2 years ago
npx --workspace
with mikro-orm-esm
(#3560) (64777af)schema:update/drop
commands (11d0fd9)default
option in version properties (1572008)0
(754d672)assign
(6572a59), closes #3571
mapToPk
properties with the PK value (559ae28)em.create(E, {}, { managed: true })
(24d206f), closes #3571
$not
operator in join condition (#3609) (047504f)defineConfig
helper (#3500) (67d3c68)em.refresh(entity)
method (#3522) (dbe8aa4)em.upsert()
method (#3525) (3285cdb), closes #3515
MikroORM
and Options
exports to each driver package (#3499) (b68ed47)offset
into FindOneOptions
(#3574) (9d5d457)src/dist/build
folders and adjust configuration (#3497) (a8c8baf)persistOnCreate
by default (8424976)Reference
wrapper (da1a0ef), closes #3582
meta
and prop
on custom mapped type instance (c1251d0), closes #3538
EntitySchema
definition (0716566), closes #3603
$in
operator when nested inside $eq
(e25d28e)qb.distinctOn()
support (307d3a1)collection.add(...items)
with a generic array - it only works with a tuple. The solution is to do collection.add(items)
instead, which will type check and is also more performant (no array copies). (#3573)Published by B4nan about 2 years ago
em.create()
(797cc3a)*
populate hints inferred from fields
(c11bda6)Published by B4nan about 2 years ago
MIKRO_ORM_SCHEMA
env var (#3464) (47fccac)@UseRequestContext
decorator (#3444) (6a60295)~
instead of ^
(fdbf67c), closes #3468
glob
to fix windows support (9e2b549), closes #2243
?
into FullTextType
properties (5095ddb), closes #3457
Published by B4nan about 2 years ago
$ne
operator on embedded properties (89706b6), closes #3430
MIKRO_ORM_DYNAMIC_IMPORTS
(ba7eac6)module: 'Node16'
to have real dynamic imports (#3439) (50347ef)flush()
to get around race conditions with Promise.all
(b62799a), closes #2934 #3383
hidden
on embeddables (d198e44), closes #3429
EntityDTO
type (#3389) (f2957fb)em.count()
on virtual entities (5bb4ebe)nullable
attribute (75a6487)Published by B4nan about 2 years ago
clear: false
(ab72144), closes #3360
toPOJO
) (aa10802), closes #3354
contextName
in TransactionContext
(b2b6a7d), closes #3362
Published by B4nan about 2 years ago
qb.insert()/update()
on embeddables in inline mode (#3340) (e611fa0)columnType
when comparing columns (f0a20fa), closes #3317
ForeignKeyConstraintViolationException
where appropriate (#3343) (508e262)$exists
mongodb operator with SQL fallback to is not null
(112f2be), closes #3295
disableContextResolution
option to em.fork()
(94442f9), closes #3338
em.populate()
(ab93106)columnType
(6bf616d)type
, onUpdateIntegrity
and onDelete
(7ee2dcb)EntitySchema
instead of decorators (b423c10)driverOptions
(df59ebf), closes #3352
Published by B4nan about 2 years ago
null
to required properties in em.create()
(e7843fb), closes #3289
onUpdate
before we know something changed (6faa367), closes #3328
init
(c876c9f), closes #3318
Published by B4nan over 2 years ago
Published by B4nan over 2 years ago
NaN
as equal when computing changesets (#3250) (95116a0)EntityManager
public methods (cc6d59b), closes #3271
afterFlush
hook (26ab686), closes #3005
null
value on object embeddable as null
(1c56e7a), closes #3258
Published by B4nan over 2 years ago
undefined
values during options merge (9e0f559), closes #3234
$unset
when property value is undefined
(f059811), closes #3233
Published by B4nan over 2 years ago
loadCount
(4471bb8)qb.count('id', true).getCount()
(a97324a), closes #3182
driverOptions
(c169eda), closes #3167
Published by B4nan over 2 years ago
Published by B4nan over 2 years ago
FindOptions.fields
on TS level (43e1d0b), closes #3127
em.getContext()
(158f077), closes #3120
Reference
wrapper when assigning entity instance (97f1f59), closes #3092
crdb_
too (049fea3), closes #3021
Published by B4nan over 2 years ago
assign
(90ec83f), closes #3026
null
(e8490f6), closes #3063
dropSchema
without disabled FKs (b1b5f55), closes #3004
Seeder.call()
(c8ece7c), closes #2998
Published by B4nan over 2 years ago
em.nativeInsert()
(#2979) (8d76852)em.assign()
(cdfbabd), closes #2974
em.transactional()
to upper context (6e5166b), closes #2973
connectionType
in populate queries (fe40a9f), closes #2994
PopulateHint.INFER
with pagination and joined strategy (56f8737), closes #2985
Published by B4nan over 2 years ago
order by
with a formula field should not include as
for sub-queries (#2929) (74751fb)prop.pivotTable
(1860ff5), closes #2919
disableForeignKeys
in schema generator (f1b8e46), closes #2912
Published by B4nan over 2 years ago
orderBy
when entity has length
property (ef45871), closes #2829
entityRepository
option weakly (3faf8bc)order by
with a formula field should not include as
(#2848) (09e8bfa)QueryFlag.PAGINATE
automatically for em.find()
(ccb4223), closes #2867
Published by B4nan over 2 years ago
orphanRemoval
in 1:1 relations (#2816) (55ff07b)em.count()
(#2818) (2d26a63)Date
when listing executed migrations (c8753ee), closes #2817
Published by B4nan over 2 years ago