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 ';
|
sqlCond += ' NOT IN ';
|
||||||
break;
|
break;
|
||||||
case 'neq':
|
case 'neq':
|
||||||
sqlCond + ' != ';
|
sqlCond += ' != ';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
sqlCond += (condType == 'inq' || condType == 'nin') ? '(' + val + ')' : val;
|
sqlCond += (condType == 'inq' || condType == 'nin') ? '(' + val + ')' : val;
|
||||||
|
|
Loading…
Reference in New Issue