leftJoin first after leftJoinWith

I have query:

->leftJoinWith('Goods')
->leftJoin([...])

Result query is first leftJoin([...]) and then leftJoinWith('Goods')

It is possible that the query would be the first leftJoinWith('Goods') ?

Thank you

Not currently. It has been moved to ideas for 6.0, as it likely requires quite some design changes.

For now if you need to change the order, you have to create all the involved joins manually.

1 Like