Closed 3-16 closed 11 years ago
Hi, you can use an array rather than an object to get this behaviour. I don't have time to test the code, but you should be able to do something like this:
MyCollection.query([
{ likes: {$gte:5} },
{ likes: {$lte:15} }
]);
Thank you that works great!
I am building my querys dynamically. Therefore It would be great if backbone_query had the ability to check two or more times on the same argument. Meaning that these are the same:
I can´t get it to work. This does not work either: