commit
ddb4f58c30
|
@ -499,7 +499,7 @@ MySQL.prototype._buildWhere = function (model, conds) {
|
||||||
sqlCond += ' NOT IN ';
|
sqlCond += ' NOT IN ';
|
||||||
break;
|
break;
|
||||||
case 'neq':
|
case 'neq':
|
||||||
sqlCond += ' != ';
|
sqlCond += val === 'NULL' ? ' IS NOT ' : ' != ';
|
||||||
break;
|
break;
|
||||||
case 'like':
|
case 'like':
|
||||||
sqlCond += ' LIKE ';
|
sqlCond += ' LIKE ';
|
||||||
|
|
Loading…
Reference in New Issue