title: Bookshelf.JS | How to use where and orWhere in query
body: <p>BookshelfJS has the following example for using 'query':</p>
  
  <pre><code>model
    .query({where: {other_id: '5'}, orWhere: {key: 'value'}})
    .fetch()
    .then(function(model) {
      ...
    });
  </code></pre>
  
  <p>Is it okay to do the following:</p>
  
  <pre><code>var whereObj = {
    'key1':'value1',
    'key2':'value2'
  };
  
  model
    .query({where: whereObj, orWhere: {key: 'value'}})
    .fetch()
    .then(function(model) {
      ...
    });
  </code></pre>