Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting all records using ODM #10

Open
sudr opened this issue May 26, 2011 · 1 comment
Open

Getting all records using ODM #10

sudr opened this issue May 26, 2011 · 1 comment

Comments

@sudr
Copy link

sudr commented May 26, 2011

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.

@sergioramos
Copy link

User.find({age: {$range: {$start: null, $end: null}}}).all(function (users) {
    console.log(users);
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants