laravel where on relationsship column 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();