Ecto.Associations.Assoc

This module provides the assoc selector merger and utilities around it.

Source

Summary

decompose_assoc(var)

Decomposes an assoc(var, fields) or var into {var, fields}

run(results, query)

Transforms a result set based on the assoc selector, loading the associations onto their parent model. See Ecto.Query.select/3

Functions

decompose_assoc(var)

Specs:

Decomposes an assoc(var, fields) or var into {var, fields}.

Source
run(results, query)

Specs:

Transforms a result set based on the assoc selector, loading the associations onto their parent model. See Ecto.Query.select/3.

Source