Query optimization for nested repeater
I've a wizard layout that using nested repeater. I tried to debug the query and it turned out that some of the queries were duplicates. Anyone can help me to fix it?
5 Replies
I've added
modifyQueryUsing: fn (Builder $query) => $query->with('lessons')
in relationship method and for some case the problem has fixed.But when I add a new section, the duplicate queries is shown again when I do any action.