#Query optimization for nested repeater

5 messages · Page 1 of 1 (latest)

static bloom
#

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?

static bloom
# static bloom

I've added modifyQueryUsing: fn (Builder $query) => $query->with('lessons') in relationship method and for some case the problem has fixed.