Hi, Warning: for fun, I am trying to learn using Laravel. I am not an experienced developer. However...
Got it! https://laravel.com/docs/6.x/eloquent-resources#conditional-relationships