Fix comparison for null and boolean values
This commit is contained in:
parent
d97e05fb4a
commit
99b2950dab
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue