Show count from nested relationship #2292
Unanswered
samuelsurbakti
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I want to show count data from nested relationship. for some information there is my models:
And this code I use to show datatable:
but I got error
Call to undefined method App\Models\Ref\Province::regencies.districts()
Laravel Version: 12
Package Version: 3.7
Beta Was this translation helpful? Give feedback.
All reactions