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

yelongren opened this issue Jun 13, 2012 · 1 comment

Problem with the $all mongodb selector #183

yelongren opened this issue Jun 13, 2012 · 1 comment


Copy link

@yelongren 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
Copy link

@avital 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.

@avital avital closed this Jun 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants