Merge pull request #38 from strongloop/feature/fix-comparison
Fix comparison for null and boolean values
This commit is contained in:
commit
d6dfd165d0
|
@ -306,6 +306,7 @@ MySQL.prototype.toDatabase = function (prop, val) {
|
||||||
return this.toDatabase(prop, val);
|
return this.toDatabase(prop, val);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return this.toDatabase(prop, val);
|
||||||
}
|
}
|
||||||
if (!prop) {
|
if (!prop) {
|
||||||
return this.client.escape(val);
|
return this.client.escape(val);
|
||||||
|
|
Loading…
Reference in New Issue