Parsed documentation:
View on GitHub
Builds a query for the association in the given model or models.

## Examples

In the example below, we get all comments associated to the given

    post = Repo.get Post, 1
    Repo.all assoc(post, :comments)

`assoc/2` can also receive a list of posts, as long as the posts are
not empty:

    posts = Repo.all from p in Post, where: is_nil(p.published_at)
    Repo.all assoc(posts, :comments)
Please help! Open an issue on GitHub if this assessment is incorrect.