提交 ddd6dee0 编写于 作者: A Aaron Patterson

further reducing dependence on custom_joins

上级 2fd385d4
......@@ -299,6 +299,8 @@ def build_joins(relation, joins)
if relation.froms.length > 0 && ast
ast.left = relation.froms.first
relation.from ast
elsif relation.froms.length == 0 && ast
relation.from(ast)
else
relation.join(custom_joins)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册