Permalink
Browse files

Fixes mysql adapter 'neq' condition.

  • Loading branch information...
1 parent 2b67400 commit 5f0514a37ce52bbaeb4565ee798681499911625f @robscott committed May 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/adapters/mysql.js
View
@@ -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;

0 comments on commit 5f0514a

Please sign in to comment.