Ecto.Schema.embedded_schema
You're seeing just the macro
embedded_schema
, go back to Ecto.Schema module for more information.
Defines an embedded schema with the given field definitions.
An embedded schema is either embedded into another schema or kept exclusively in memory. For this reason, an embedded schema does not require a source name and it does not include a metadata field.
Embedded schemas by default set the primary key type
to :binary_id
but such can be configured with the
@primary_key
attribute.