Versioned.preload

You're seeing just the function preload, go back to Versioned module for more information.
Link to this function

preload(list_or_struct, preload)

View Source

Specs

preload(Ecto.Schema.t() | [Ecto.Schema.t()], atom() | list()) ::
  Ecto.Schema.t() | [Ecto.Schema.t()]

Preload version associations.

Example

iex> pv = Repo.get(Person.Version, "7f85b58b-ef57-4288-ade0-ff47f0ceb116")
iex> Versioned.preload(pv, :fancy_hobby_versions)
%Person.Version{
  id: "7f85b58b-ef57-4288-ade0-ff47f0ceb116",
  fancy_hobby_versions: [
    %{id: "a2a911fb-e2a6-459c-93e2-616be0fa1a45", name: "Jenga"}
  ]
}