Several actions in the action layer invoke logic-layer methods inside loops, which in many cases lead to N + 1 query/call patterns.
We should identify these N + 1 call sites and replace them with batched SQL queries.
If possible, provide a proof of improvement (e.g. benchmark results)
Several actions in the action layer invoke logic-layer methods inside loops, which in many cases lead to N + 1 query/call patterns.
We should identify these N + 1 call sites and replace them with batched SQL queries.
If possible, provide a proof of improvement (e.g. benchmark results)