Hydrahon
Hydrahon copied to clipboard
Select not working within SubQueries
Hello,
When using the subquery in the developer branch there seems to be an issue with the select function.
for example:
$ret = $builder->select(["a" => function ($q) {
$q->table("table2");
$q->select(["column1", "column2"]);
});
Returns: There is no macro or method with the name "select" registered.
However as a workaround, if select is changed to fields it works fine, is this intended?
Kind Regards, Joe