Expand description
Eager loading infrastructure for relationships.
This module provides the EagerLoader builder for configuring which
relationships to load with a query. Eager loading fetches related
objects in the same query using SQL JOINs.
Structs§
- Eager
Loader - Builder for eager loading configuration.
- Include
Path - A path to a relationship to include.
Functions§
- build_
aliased_ column_ parts - Generate aliased column names for eager loading.
- build_
aliased_ columns - Generate aliased column list for eager loading.
- build_
join_ clause - Generate a JOIN clause for a relationship.
- find_
relationship - Find a relationship by name in a model’s RELATIONSHIPS.