There is a solution for the query n+1 problem: https://www.youtube.com/watch?v=mO-pfdJpnBA
There is a solution for the query n+1 problem:
https://www.youtube.com/watch?v=mO-pfdJpnBA