Ecto.Type.dump

You're seeing just the callback dump, go back to Ecto.Type module for more information.

Specs

dump(term()) :: {:ok, term()} | :error

Dumps the given term into an Ecto native type.

This callback is called with any term that was stored in the struct and it needs to validate them and convert it to an Ecto native type.