type

Population

Expand one relationship path into projected target documents.

Properties

PropertyTypeDescription
PathPathRelationship or upload path to expand.
DepthintRequested recursive depth, bounded by the operation engine.
Select[]PathOptional target-field projection.

How it works

Population is access-aware at every target collection and is also bounded by a store materialization budget.

Full signature

type Population struct { Path Path Depth int // Select is nil for the complete populated target. A non-nil empty slice // returns only document metadata. Select []Path }

Source query/controls.go:44