Ecto.Type.load
You're seeing just the function
load
, go back to Ecto.Type module for more information.
Specs
Loads a value with the given type.
iex> load(:string, nil)
{:ok, nil}
iex> load(:string, "foo")
{:ok, "foo"}
iex> load(:integer, 1)
{:ok, 1}
iex> load(:integer, "10")
:error