Merge pull request #38 from strongloop/feature/fix-comparison

Fix comparison for null and boolean values
This commit is contained in:
Raymond Feng 2014-06-13 11:41:49 -07:00
commit d6dfd165d0
1 changed files with 1 additions and 0 deletions

View File

@ -306,6 +306,7 @@ MySQL.prototype.toDatabase = function (prop, val) {
return this.toDatabase(prop, val);
}
}
return this.toDatabase(prop, val);
}
if (!prop) {
return this.client.escape(val);