Ecto.Type.embedded_dump
You're seeing just the function
embedded_dump
, go back to Ecto.Type module for more information.
Dumps the value
for type
considering it will be embedded in format
.
Examples
iex> Ecto.Type.embedded_dump(:decimal, Decimal.new("1"), :json)
{:ok, Decimal.new("1")}