Ecto v3.1.7 Ecto.Association.NotLoaded View Source

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

Link to this section Summary

Link to this section Types

Link to this type

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