Introduced a magic method fix for the previous release, which now strips the $alias
from a join in the following cases:
$excludeAliases
is set to TRUE$join
matches$alias
$alias
is empty (empty string or NULL)
This will potentially change built SQL clauses without breaking them, if you've passed the table name to $alias
creating a duplicate.
->join('parent', 'child', 'child', 'child.fk_parent = parent.id')
// INNER JOIN child child ON child.fk_parent = parent.id
This will now remove the second child
from the SQL.