tgriesser/bookshelf — pull request #45 by epowers (2013-08-15 22:01:21+00:00)
Title: query() takes a function similar to other Knex methods

query() takes a function similar to other Knex methods:

collection.query(function() {
this.where("id","=","1")
}).fetch().then(console.log)