Skip to main content

load_includes

Function load_includes 

Source
pub async fn load_includes<T>(
    entities: &mut [T],
    includes: &[IncludePath],
    provider: &dyn IDatabaseProvider,
    filter_map: Option<&HashMap<String, CompiledFilter>>,
) -> EFResult<()>
Expand description

Loads related entities and fills navigation properties on entities.

filter_map carries per-table query filters (e.g. tenant isolation). When present, the filter for each related table is appended (AND’d) to the secondary SELECT so navigation data is scoped consistently with primary queries.