Level 75
What are you trying to query, a json field? Or regular related data from the database?
Look over examples: https://laravel.com/docs/9.x/eloquent-relationships#eager-loading
Or
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
am trying to get user followers post but i am getting this error No query results for model [App\Models\Idea] {"id":1,"user_id":1,"followable_type":"App\\Models\\User","followable_id":18,"accepted_at":"2022-07-
am using this package https://github.com/overtrue/laravel-follow
$following = $this->user->followings(App\Idea::class)->get();
Please or to participate in this conversation.