Skip to main content

Module select_projection_belongs_to

Module select_projection_belongs_to 

Source
Expand description

.select(...) projection through a BelongsTo relation field.

Projects the related-model side of the relation directly: a query rooted at the source model returns one related-model record per source row.

Modulesยง

select_belongs_to_basic
select_belongs_to_first
select_belongs_to_with_filter