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