Skip to content

Glossary: PostgreSQL for Developers

selectinload

A SQLAlchemy option that loads related rows up front in one extra query, avoiding the N+1 problem.

Where the book teaches it

Related terms

N+1 problemrelationship