Deep thought and Internet searches going into a perceived problem in the code. How to avoid n+1 problem? Can sqlx easily built nested struts in arrays? Will I need a new plugin.
Wait… The whole thing is two queries and a loop. GFDI.
Deep thought and Internet searches going into a perceived problem in the code. How to avoid n+1 problem? Can sqlx easily built nested struts in arrays? Will I need a new plugin.
Wait… The whole thing is two queries and a loop. GFDI.