W3cubDocs

/Phoenix

Ecto.Association.NotLoaded

Struct returned by associations when they are not loaded.

The fields are:

  • __field__ - the association field in owner
  • __owner__ - the schema that owns the association
  • __cardinality__ - the cardinality of the association

Summary

Types

t()

Types

t()

t() :: %Ecto.Association.NotLoaded{
  __cardinality__: atom(),
  __field__: atom(),
  __owner__: any()
}

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/ecto/Ecto.Association.NotLoaded.html