Question: Given two models, what is the issue with the query used to fetch them?
- This query will result in extensive caching, and you will have to then deal with caching issues.
- This query will result in the N+1 query issue. Three orders will result in four queries.
- This query will result in the 1 query issue. Three orders will result in one query.
- There are no issues with this query, and you are correctly limiting the number of Order models that will be loaded.
Answer: The correct answer of the above question is Option B:This query will result in the N+1 query issue. Three orders will result in four queries.