Open YMonnier opened 5 years ago
Issue type:
[ ] question [ ] bug report [x] feature request [ ] documentation issue
Database system/driver:
[ ] cordova [x] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [ ] postgres [ ] sqlite [ ] sqljs [ ] react-native [ ] expo
cordova
mongodb
mssql
mysql
mariadb
oracle
postgres
sqlite
sqljs
react-native
expo
TypeORM version:
[x] latest [ ] @next [ ] 0.x.x (or put your version here)
latest
@next
0.x.x
It seems that TypeORM has not yet implemented the arrayFilters. Moreover, Mongodb typescript has implemented that feature.
arrayFilters
MongoDB Documentation: https://docs.mongodb.com/manual/release-notes/3.6/#multi-element-array-updates
You can simply give the { arrayFilter: { ... } } as any or update the type of the options, the only issue with this option is the type.
{ arrayFilter: { ... } } as any
Issue type:
[ ] question [ ] bug report [x] feature request [ ] documentation issue
Database system/driver:
[ ]
cordova
[x]mongodb
[ ]mssql
[ ]mysql
/mariadb
[ ]oracle
[ ]postgres
[ ]sqlite
[ ]sqljs
[ ]react-native
[ ]expo
TypeORM version:
[x]
latest
[ ]@next
[ ]0.x.x
(or put your version here)It seems that TypeORM has not yet implemented the
arrayFilters
. Moreover, Mongodb typescript has implemented that feature.MongoDB Documentation: https://docs.mongodb.com/manual/release-notes/3.6/#multi-element-array-updates