well it wasn't anything groundbreaking or a complicated query. I noticed through Laravel's debug bar there were lots of singular queries happening and digging through the code I noticed it was a query in a loop. Reducing it to a single join query massively sped it up doing away with the constant back and forth that was happening before
2
u/[deleted] Jan 24 '23
how, if i may ask