Closed n1crack closed 8 years ago
How to show item count of each tag with eager loading ?
any tips ?
I think Article::with('tag', 'tagged')->first()->tags->get(0)->count;
Article::with('tag', 'tagged')->first()->tags->get(0)->count;
How to show item count of each tag with eager loading ?
any tips ?