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

Commit 7929b53e by Meg Sharkey

bug fix for null value

1 parent 22359706
Showing with 1 additions and 1 deletions
......@@ -189,7 +189,7 @@ var QueryGenerator = module.exports = {
return [_key, _value].join(" IN ")
}
else if (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("=")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!