many to many relationship laravel return foreign key property in blade file foreach laravel 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();