The embedding struct for embeds_one and embeds_many.
Its fields are:
cardinality - The association cardinalityfield - The name of the association field on the schemaowner - The schema where the association was definedrelated - The schema that is embeddedon_cast - Function name to call by default when casting embedson_replace - The action taken on associations when schema is replaced
© 2013 Plataformatec
© 2020 Dashbit
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/ecto/Ecto.Embedded.html