FR: Multiple conditions on comparison
itsezc opened this issue · comments
Currently it isn't possible to have:
Account.select()
.where({
location: {
inside: {
type: 'Point',
coordinates: [21, 21]
},
outside: {
type: 'Point',
coordinates: [22, 22]
}
}
})
.build()
Account.select()
.where({
username: {
endsWith: 'ends',
startsWith: 'starts'
}
})
.build()
As only one comparison generates a valid query.