@clairejs/orm
3.16.21 • Public • Published
- fix mapModel typing issue
- fix convert data object null
- fix geo point coordinate default undefined
- fix convert to data object
- export getSafeUpdate
- fix convert to data for mongo to convert id fields
- improve mongo join hoisting $match
- set autoIndex false for mongo
- upgrade mongo, mongoose, claire core
- fix using $push for array map
- fix isArrayDiff
- fix optional returning in updateMany
- fix lean: true in Mongo updateOne
- fix fkMap
- fix the returning in updateMany, deleteMany to return projection
- add updateOne
- fix Mongo update unset null & undefined
- fix MongoQuery mapToQuery
- fix convert to logic object & utils
- fix mongo query update & flatten function
- export toMongoIds function
- fix several issues with get nested query
- fix typing issue in QueryOperator
- update claire core & adapt change of MODEL_FIELD_SEPARATOR
- update claire core & fix issue wiht removeal of DataType.POINT
- allow nested field query (mongodb only)
- update claire core
- fix MongoDbAdapter getOne
- refactor transaction
- update tx use return
- fix parse array of ids
- fix id metadata type
- fix flatten update data
- fix model id prefix for MongoDbAdapter
- fix mongo db adapter FK with vector props
- fix MongoDbAdapter not init
- fix orm-gen -> migration
- refactor & rename query, database adapters
- implement Nosql database and migrator (mongodb)
- update core, force group by in join clause
- fix prettier pluginSearchDir calling to __dirname
- fix _neq comparision with null
- fix array aggregator return null array for left join
- allow _array to accept AggregatorMap
- fix total in rows and getMany, fix is null in eq, neq comparision
- fix OrderDirective
- move pg and mysql to peer dependencies
- fix @LocaleOf column data type
- add
raw: true
to getMany
- remove projection filter so old migrations can run without fields in metadata
- fix migrator cannot create new database
- change abstract migration interface, not relying to fs and path anymore
- fix timestamps in model define
- suppress warning
- remove webpack
- compile as esm module
- fix skip require in requiring migration files
- remove unnecessary logic
- fix not create db if not exist
- fix template generation
- revert connection options to string
- remove sequelize-cli
- update DefaultSqlDatabaseMigrator constructor, no more cliPath argument
- update DefaultSqlDatabaseAdapter, add two static from factory function
- forward-migration-strategy, no more down script generated
- add cli command to generate migration
- convertToData & convertToLogic removekeys with undefined value
- filter projection with class functional field
3.7.0: handle point geometry data
- fix index for geometry column
- add type check in QueryCondition
- change updateOne -> updateById
- change deleteOne -> deleteById
- updateMany return Partial[] instead of string[]
- fix object data type serialization
- join.rows now can infer correct type from mapping aggregations
- replace _join aggregation fn by _array aggregation fn
- update claire core
- handle query error in SqlModelAdapter
- fix NaN when convert null FK in convertToDataObjects
- fix getByIds return empty array if ids is empty
- fix data type object in FK
- fix rawQuery
- fix parseInt issue with PK and FK when perform read operation
- fix data type of @LocaleOf column in migration
- Sql database adapter & migrator update for abstract model id change of datatype from number to string
- move cli config file to tmp dir
- remove cli config file after migration
- add setting for SequelizeMeta table schema on DefaultSqlDatabaseMigrator
- export adapter util functions
- fix abstract query try parse array as json in vectorProps field when calling convertToLogicObjects
- add order option in getOne
- add createdAt information in metadata.json and sort the array to reduce conflicts when perform migration
- DefaultSqlDatabaseAdapter require object as connection string (for read/write replica)
- using prettier to format migration files automatically
- update core to get accent data
- rename TransactionLink -> PropagationMode
- allow INHERIT_OR_CREATE to create new transaction if previous tx is commited or rolled-back
- fix order by in raw join query
- fix min aggrerate function not working on boolean field (postgres)
- fix self-reference FK
- fix _is aggregate function
- convert data format in join result
- fix duplicated associations, update sequelize 1.0.3
- export utils functions
- fix issue with multiple table join
- split from @clairejs/server package
/@clairejs/orm/
//
Package Sidebar
Install
Weekly Downloads