v0.6.4
Fix
Bug when updating a model data (PR #17 ). Thanks @soraxtend
Added
The possibility to pass a function as a value for a filter in list shortcut query.
This allow for dynamic values to be calculated (for example the current date) as the declaration only occurs once.
// In a Schema definition
var querySettings = {
filters : ['publishedOn', '<', function(){ return new Date(); }]
};
blogPostSchema.queries('list', querySettings);