Closed tdanecker closed 7 years ago
In the latest beta of Waterline 0.13
this is fully supported syntax:
model.find({
and: [
{
or: [
{ a: 'a' },
{ b: 'b'}
]
},
{
or: [
{ c: 'c' },
{ d: 'd'}
]
}
})
Hi,
I have a condition that looks like
(A or B) and (C or D)
. How can I write this using the waterline query language?The following doesn't work, unfortunatly: