Releases: sugoiJS/mongoDB
Releases · sugoiJS/mongoDB
package.json updated
Merge branch 'master' of https://github.com/sugoiJS/mongoDB # Conflicts: # __tests__/model.test.d.ts # __tests__/model.test.js # __tests__/models/dummy.js # classes/mongo-model.abstract.d.ts # classes/mongo-model.abstract.js # coverage/clover.xml # coverage/coverage-final.json # coverage/lcov-report/dist/__tests__/models/dummy.js.html # coverage/lcov-report/dist/__tests__/models/index.html # coverage/lcov-report/dist/classes/index.html # coverage/lcov-report/dist/classes/mongo-connection.class.js.html # coverage/lcov-report/dist/classes/mongo-model.abstract.js.html # coverage/lcov-report/dist/constants/exceptions.constant.js.html # coverage/lcov-report/dist/constants/index.html # coverage/lcov-report/dist/constants/sort-options-mongo.constant.js.html # coverage/lcov-report/dist/index.html # coverage/lcov-report/dist/index.js.html # coverage/lcov-report/index.html # coverage/lcov.info # docs/main.json # package-lock.json # package.json
New features
New features:
- updateAll(query,data,options) - Update all the records which are meets the query.
- skipRequiredFieldsValidation - skip the validation of @required fields
Support @Required and bug fixes
New features
- property now allow to decorate with @required which indicate this property is mandatory.
Bug fixes
- 'modelMeta' property wasn't hide during storing and sending the object
Support @Ignore and performance optimization
2.5.3 package json updated