-1

I have offer table and report table I and report table have offer_id table. offer to report table relation on to many, I count reports table row by offer table by desc

Ashad Ali
  • 1
  • 1
  • 2

1 Answers1

1

Here is the official documentation about counting on relationships: https://laravel.com/docs/8.x/eloquent-relationships#counting-related-models

Diego Dieh
  • 341
  • 3
  • 9