We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ec134d commit 0bd270aCopy full SHA for 0bd270a
src/index.js
@@ -69,9 +69,7 @@ class DSRethinkDBAdapter {
69
let subQuery
70
forOwn(params.where, function (criteria, field) {
71
if (!isObject(criteria)) {
72
- params.where[field] = {
73
- '==': criteria
74
- }
+ criteria = {'==': criteria}
75
}
76
forOwn(criteria, function (v, op) {
77
if (op === '==' || op === '===') {
0 commit comments