You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package seems to generate several n+1 queries. Could you fix those or how could i fix those?
I am using beyondcode/laravel-query-detector to detect those queries and i get the following messages:
Found N+1 queries in a random request:
Model: App\\Models\\User => Relation: Silvanite\\Brandenburg\\Role - You should add "with(\'Silvanite\\Brandenburg\\Role\')" to eager-load this relation.
Model: Silvanite\\Brandenburg\\Role => Relation: Silvanite\\Brandenburg\\Permission - You should add "with(\'Silvanite\\Brandenburg\\Permission\')" to eager-load this relation.
Model: App\\Models\\User => Relation: Silvanite\\Brandenburg\\Role - You should add "with(\'Silvanite\\Brandenburg\\Role\')" to eager-load this relation.'
The text was updated successfully, but these errors were encountered:
This package seems to generate several n+1 queries. Could you fix those or how could i fix those?
I am using
beyondcode/laravel-query-detector
to detect those queries and i get the following messages:Found N+1 queries in a random request:
The text was updated successfully, but these errors were encountered: