davidgtonge / backbone_query

A lightweight query api for Backbone Collections
MIT License
378 stars 29 forks source link

Added where method #3

Closed cezary closed 12 years ago

cezary commented 12 years ago

Where method returns a new collection of the results from a query. This allows for chaining collection methods and multiple queries with consecutive where calls.

Also fixes a broken test compound queries test.

davidgtonge commented 12 years ago

Thanks @cezary, nice addition, I'll update the docs shortly.