diff --git a/lib/dao.js b/lib/dao.js index c5784212..5207d4af 100644 --- a/lib/dao.js +++ b/lib/dao.js @@ -415,6 +415,7 @@ DataAccessObject._coerce = function (where) { if ('object' === typeof val) { if (Object.keys(val).length !== 1) { // Skip if there are not only one properties + // as the assumption for operators is not true here continue; } for (var op in operators) {