79251894

Date: 2024-12-04 16:02:26
Score: 2
Natty:
Report link

From the documentations you can clear it up. https://laravel.com/docs/11.x/eloquent-relationships

Since the relations seems to be the ManyToMany, not Polymorphic one so just define the functions in models (hint: from the answers here for this question) for eloquent to get the results.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Simple Notes