laravel eloquent don't retrieve relation code example
Example: laravel where on relationsship column
Player::whereHas('roleplay', function($q){
$q->where('column_name', 'value');
})->get();
Player::whereHas('roleplay', function($q){
$q->where('column_name', 'value');
})->get();