- Internal Logger added
- IRedisAdaptor interface and NodeRedisAdaptor added, basic redis command abstructed
Full Changelog: https://github.com/anchovycation/metronom/compare/v2.0.0...v2.1.0
Metronom
object- Limit parameter added to
Model.getAll
function - Type and default value support added to schema
MetronomInstance.save
function will save only the changed fields by tracing the proxy- changedValues added to MetronomInstance
- Unflex model's empty schema error fixed
Full Changelog: https://github.com/anchovycation/metronom/compare/v1.4.0...v2.0.0
ModelInstance.destroy()
function
Full Changelog: https://github.com/anchovycation/metronom/compare/v1.3.1...v1.4.0
Utilites.safeWrite
function's business logic
Full Changelog: https://github.com/anchovycation/metronom/compare/v1.3.0...v1.3.1
ModelInstance.getPureData
function addedModel.createInstance
function addedModel.filter
function added
ModelInstance.toJSON
business logic changed
Full Changelog: https://github.com/anchovycation/metronom/compare/v1.2.0...v1.3.0
Model.getAll
function added
Model.redisClient
type updated toRedisClientType
Full Changelog: https://github.com/anchovycation/metronom/compare/v1.1.1...v1.2.0
safeRead
andsafeWrite
functions added- Flex schema feature implemented
Full Changelog: https://github.com/anchovycation/metronom/compare/v1.0.0...v1.1.1
First version of metronom. Basic CRUD functions added
Model.create()
function addedModel.findById()
Model.deleteById()
ModelInstance.save()
Full Changelog: https://github.com/anchovycation/metronom/compare/v1.3.1...v1.4.0