davidgtonge / backbone_query

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

Typo id docs #14

Closed ghost closed 11 years ago

ghost commented 11 years ago

There is a typo in the docs.

MyCollection.query({ likes: {$between:[5,15} });

It should be

MyCollection.query({ likes: {$between:[5,15]} });

instead.

ghost commented 11 years ago

Also I would rather replace following:

By default all supplied queries must be matched $and.

with this

By default all supplied queries are treated as $and operator is used.