不要怂,就是干,撸起袖子干!

You need to sign in or sign up before continuing.
Commit ec6b1206 by Meg Sharkey

bug fix for null value

1 parent 7929b53e
......@@ -189,7 +189,7 @@ var QueryGenerator = module.exports = {
return [_key, _value].join(" IN ")
}
else if value && (typeof value == 'object') {
else if ((value) && (typeof value == 'object')) {
//using as sentinel for join column => value
_value = value.join.split('.').map(function(col){return Utils.addTicks(col)}).join(".")
return [_key, _value].join("=")
......
{
"name": "sqlize",
"description": "Modified version of sequelize - MySQL ORM for Node.JS",
"version": "0.2.1",
"version": "0.2.2",
"author": "Meg Sharkey <meg@metamx.com>",
"contributors": [
{ "name": "Sascha Depold", "email": "sascha@depold.com" },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!