Widget table custom query
Hi all, i've a widget that aims to show the latest casting like this:
but
but
Casting::query()->where('user_id', auth()->id())->latest()->take(5) seems not work