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
Asked
Active
Viewed 146 times
-1
-
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Gary Houbre Nov 02 '21 at 08:05
1 Answers
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