Fixes mysql adapter 'neq' condition.
This commit is contained in:
parent
2b67400525
commit
5f0514a37c
|
@ -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