js-data / js-data-rethinkdb

RethinkDB adapter for js-data. Main Site: http://js-data.io, API Reference Docs: http://api.js-data.io
MIT License
32 stars 5 forks source link

Using `where` in a query without an operator breaks #13

Closed internalfx closed 9 years ago

internalfx commented 9 years ago
where: {
  name: 'john' // breaks
}
where: {
  name: {'==': 'john'} // works
}

Error:

{ [ReqlDriverError: Annonymous function returned `undefined`. Did you forget a `return`? In:
function (row) {
internalfx commented 9 years ago

Fixed.