-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Example:
...
->includes(['states' => function($query) use ($stateNamesList){
$query
->whereIn('id', function($query) use ($stateNamesList) {
$query
->selectRaw('max(id)')
->from(\App\ScenarioState::tableName())
->groupBy('client_id');
})
->whereIn('name', $stateNamesList);
}])
Gives: Call to undefined method SleepingOwl\WithJoin\WithJoinEloquentBuilder::includes()
Metadata
Metadata
Assignees
Labels
No labels