Releases: sugoiJS/ORM
Releases · sugoiJS/ORM
Performance optimization
Bug fix
New features
New features:
- updateAll(query,data,options) - Update all the records which are meets the query.
- skipRequiredFieldsValidation - skip the validation of @required fields
new features and optimization
New features
- Property now allow to decorate with
@Required()which indicate this property is mandatory.
Optimizaton
@Ignored()- logic was optimize for auto hide and better performance
Bug fixes
- 'modelMeta' property wasn't hide during storing and sending the object
2.5.3
2.3.2
2.3.0
New features
-
QueryOptions - query options now supported
limit,offsetandsort, those propagate into the emitters (findEmitter, removeEmitter, updateEmitter, saveEmitter). -
(static method)
updateById(id,data,queryOption)- Allow update/patch value without query the current value. -
@ConnectionName(name:string)- set the connection name which need to be use for the model (Connectable models only), this connection first need to be initiate withsetConnectionmethod
Bug Fix
- None
Full features for RESTFUL and DB Driven models
Features
- Model support full lifecycle including validation
- CRUD implemented
- @ Primary() decorator
- @ ModelName for set the model name without changing the class name