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

Problem with the $all mongodb selector #183

Closed
yelongren opened this issue Jun 13, 2012 · 1 comment
Closed

Problem with the $all mongodb selector #183

yelongren opened this issue Jun 13, 2012 · 1 comment

Comments

@yelongren
Copy link

yelongren commented Jun 13, 2012

When I use the $in selector as in:
Users.find({tags: {$in: array}})
It works fine. But when I try to replace $in with $all I get the following error:
Uncaught TypeError: Cannot read property 'length' of undefined (selector.js:18)

I cannot see how just switching selectors can provoke that error. Please tell me if it is a known issue or just my total beginner mistake.

Thanks in advance.

@ghost ghost assigned debergalis and avital Jun 19, 2012
@avital
Copy link
Contributor

avital commented Jun 19, 2012

Thanks for submitting this. Just fixed in 9d52461. Should be out in the next release, or you can use it if you clone the github repo and use the devel branch.

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

3 participants