Level 75
$items = Admin::select('id', 'first_name', 'last_name', 'uuid', 'email', 'employer_id')
->with('employer:id,name')
->get();
Docs: https://laravel.com/docs/8.x/eloquent-relationships#eager-loading-specific-columns
When using this feature, you should always include the
idcolumn and any relevant foreign key columns in the list of columns you wish to retrieve.