Ecto.Changeset.apply_changes
You're seeing just the function
apply_changes
, go back to Ecto.Changeset module for more information.
Specs
apply_changes(t()) :: Ecto.Schema.t() | data()
Applies the changeset changes to the changeset data.
This operation will return the underlying data with changes regardless if the changeset is valid or not.
Examples
iex> changeset = change(%Post{author: "bar"}, %{title: "foo"})
iex> apply_changes(changeset)
%Post{author: "bar", title: "foo"}