This is based on the released 0.4.2 branch. I needed limit on union, so modified the engine code to invoke the sql-limit-offset code for union, union-all, and intersect.
I also needed joins of the form:
(select .. from table1 join (select table2 where ...) as alias on table1.foo=alias.bar.`
This commit adds the ability to use a subselect in a join, in a 2-vector, like for field and table aliases:
This is based on the released 0.4.2 branch. I needed limit on union, so modified the engine code to invoke the
sql-limit-offset
code for union, union-all, and intersect.I also needed joins of the form:
This commit adds the ability to use a subselect in a join, in a 2-vector, like for field and table aliases: