Merge pull request #78 from robscott/patch-1
Fixes mysql adapter 'neq' condition.
This commit is contained in:
commit
9a5c252428
|
@ -261,7 +261,7 @@ MySQL.prototype.all = function all(model, filter, callback) {
|
|||
sqlCond += ' NOT IN ';
|
||||
break;
|
||||
case 'neq':
|
||||
sqlCond + ' != ';
|
||||
sqlCond += ' != ';
|
||||
break;
|
||||
}
|
||||
sqlCond += (condType == 'inq' || condType == 'nin') ? '(' + val + ')' : val;
|
||||
|
|
Loading…
Reference in New Issue