Spec-Zone.ru › Phoenix

Ecto.Embedded

Source

The embedding struct for embeds_one and embeds_many.

Its fields are:

  • cardinality - The association cardinality
  • field - The name of the association field on the schema
  • owner - The schema where the association was defined
  • related - The schema that is embedded
  • on_cast - Function name to call by default when casting embeds
  • on_replace - The action taken on associations when schema is replaced

Summary

Functions

preload_info(embed)

Functions

preload_info(embed)Source

Hex Package Hex Preview View llms.txt Download ePub version

Built using ExDoc (v0.40.2) for the Elixir programming language

© 2014 Chris McCord
Licensed under the MIT License.
https://ecto.hexdocs.pm/Ecto.Embedded.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API