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

Commit 68d25d65 by Jason Valdron

no more automatic nesting for raw queries, now have a flag

1 parent 1e577d3c
Showing with 2 additions and 0 deletions
...@@ -214,9 +214,11 @@ module.exports = (function() { ...@@ -214,9 +214,11 @@ module.exports = (function() {
return o; return o;
}); });
if (this.options.nest) {
result = result.map(function(entry){ result = result.map(function(entry){
return Dot.transform(entry); return Dot.transform(entry);
}); });
}
// Queries with include // Queries with include
} else if (this.options.hasJoin === true) { } else if (this.options.hasJoin === true) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!