-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
I want to make a query, something like that: (foo && bar) || (qux && baz)
I wrote it in this style (coffee script)
@getDatabase().findAllLive
$or:
$and:
foo: {$exists: true}
bar: {$exists: true}
$and:
qux: {$exists: true}
baz: {$exists: true}
But the result is always the part with qux && baz
Here is the real query:
https://gist.github.com/timaschew/0f53f48a8e82431dccf6
Metadata
Metadata
Assignees
Labels
No labels