This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
Releases: PhilWaldmann/openrecord
Releases · PhilWaldmann/openrecord
scope include with empty result bugfix
v1.1.2 scope include with empty result bugfix
asJson() + include() bugfix
v1.1.1 Include with asJson bugfix
added `asRaw()`
... to get the unprocessed output of your sql backend
handle function calls as raw sql in GROUP
v1.0.1 handle function calls as raw sql in GROUP
Version 1.0
- Full Documentation is available in the wiki
- OpenRecord now has its own logo
- 1011 unittests
- Documentation will be generated automatically with every release
More examples coming soon!
Last version before 1.0
Fixes:
- Updated jsdoc
- Fixed aggregate function with joins bug
New:
- Added the ability to include scoped results.
eg.
User.limit(20).include(':totalCount').exec(function(users){
//users.length == 20
//users.$totalCount > 20
});
this also works for relations
User.where({name_like: 'joe'}).include('posts:totalCount').exec(function(users){
//users.posts$totalCount == total count of all posts of all joes
});
Nested Set Plugin Bugfix
v0.16.6 Nested Set Plugin Bugfix
returns nothing on e.g. where({id:[]})
v0.16.5 return nothing on e.g. where({id:[]})
hstore bugfix
v0.16.4 postgres test fixes
add 'leaf' attribute to nestedSet
v0.16.3 add 'leaf' attribute to nested set model