I’m looking at the yii\db\ActiveQuery API Documentation and it says the following:-
$joinWith - A list of relations that this query should be joined with
$with - A list of relations that this query should be performed with
Can someone please explain the difference between these 2? A detailed example would be great too.