Repo.insert(changeset)
returns {:ok, struct}
, but struct has no preloaded associations.
Am I forced to select query to preload it's associations? Or can I avoid a useless query somehow?
Repo.insert(changeset)
returns {:ok, struct}
, but struct has no preloaded associations.
Am I forced to select query to preload it's associations? Or can I avoid a useless query somehow?