Mongo DB $or query returns error, not working as expected. #712

mariuskubilius opened this Issue Dec 6, 2012 · 1 comment


None yet
1 participant

Ok I was trying to do $or query, but it just returns following errors:
Here is the info I managed to gather:
I added test case which replicated the issue. In mongoDB docs, it says that it can be used as this, or with additional fields, none are working.

Either it was me tired, but the correct syntax for $or query is the following, hopefully I did not left out any syntax errors in current gist:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment