Solving the N+1 Problem in GraphQL

The N+1 problem occurs when we use data returned from the database to fuel a list of further queries to the database.

Article title image. Solving the N+1 Problem in GraphQL

Meaning, if you receive a list of results from a query, then for each result, you will make another query to the database.

In this case, the N stands for the number of results returned from the database, and 1 stands for the initial query that was made.