Open sudr opened 13 years ago
When using the ODM how can I retrieve all the records:
I've tried the following with no success:
User.find({}).all(function(users) { console.log(users); }
I get an empty collection.
User.find({age: {$range: {$start: null, $end: null}}}).all(function (users) { console.log(users); });
When using the ODM how can I retrieve all the records:
I've tried the following with no success:
User.find({}).all(function(users) { console.log(users); }
I get an empty collection.