Polymorphic Embed v0.11.0 PolymorphicEmbed View Source

Link to this section Summary

Link to this section Functions

Link to this function

cast_polymorphic_embed(changeset, field)

View Source

Callback implementation for Ecto.ParameterizedType.embed_as/2.

Link to this function

equal?(term1, term2, params)

View Source

Callback implementation for Ecto.ParameterizedType.equal?/3.

Link to this function

get_polymorphic_module(schema, field, type_or_data)

View Source
Link to this function

get_polymorphic_type(schema, field, module_or_struct)

View Source