One destinations has many activities.
I want to put a limit a limit of 3 activities on the amount of returned activities for each destination
the way I insert the limit within WITH does not work
$destinations = Destination::find()
->select(['des_id','des_name','des_type_classification'])
->with([
'activities' => function ($query) {
$query->andWhere(['status' => Order::STATUS_ACTIVE]);
$query->limit(3); /PROBLEM HEEEEEEERE
},
])
->offset($offset)
->limit($100)
->all();