Ecto.embedded_dump
You're seeing just the function
embedded_dump
, go back to Ecto module for more information.
Specs
embedded_dump(Ecto.Schema.t(), format :: atom()) :: map()
Dumps the given struct defined by an embedded schema.
This converts the given embedded schema to a map to be serialized with the given format. For example:
iex> Ecto.embedded_dump(%Post{}, :json)
%{title: "hello"}