documentcloud/backbone — pull request #1524 by Ask11 (2012-08-04 06:05:50+00:00)
Title: Array support for conditions in `where`

You be able to use array in `where` conditions:
```javascript
collection = new Backbone.Collection([
{a: 1, b: 2},
{a: 2, b: 2},
{a: 3},
{a: 4, b: 2}
]);

collection.where({a: [2, 3]});
// => [{a: 2, b: 2}, {a: 3}]

collection.where({a: [3, 4], b: 2});
// => [{a: 4, b: 2}]
```
I'll add examples to documentation if all OK with this new feature.