Merge pull request #139 from houdiniproject/qx_fix
Fix lateral join in Qx
This commit is contained in:
commit
cd180676c2
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ class Qx
|
||||||
def join_lateral(join_name, select_statement, success_condition=true)
|
def join_lateral(join_name, select_statement, success_condition=true)
|
||||||
|
|
||||||
@tree[:JOIN_LATERAL] ||= []
|
@tree[:JOIN_LATERAL] ||= []
|
||||||
@tree[:JOIN_LATERAL] += {name: join_name, select_statement: select_statement, condition: success_condition}
|
@tree[:JOIN_LATERAL].concat([{join_name: join_name, select_statement: select_statement, success_condition: success_condition}])
|
||||||
self
|
self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue