N+1 problem
Also written: N+1
One query for a list of N things, then one more query for each of them. Fifty orders of four items would take 251 SQL queries.
Also written: N+1
One query for a list of N things, then one more query for each of them. Fifty orders of four items would take 251 SQL queries.