I will never understand why more developers don't just learn effective SQL. In many cases, the database is both the most expensive and most powerful component of the system - may as well put it to use!
The N+1 query used as an example in the post could have just been a single query.
The N+1 query used as an example in the post could have just been a single query.