sql – What is the problem with N + 1 queries?
Question: Whenever we work with an ORM, it is common to fall into the problem of N+1 queries . It's something about performance, even called antipattern . But what is this problem really, why does it happen, what are its main causes and how, in theory, to solve them? I've …