Endon.update-exclamation-mark
You're seeing just the function
update-exclamation-mark
, go back to Endon module for more information.
Specs
update!(Ecto.Schema.t(), keyword() | map()) :: Ecto.Schema.t()
Update a record in the data store.
The struct
must be a Ecto.Schema.t/0
(your module that uses Ecto.Schema
).
params
can be either a Keyword
list or Map
of attributes and values.
Returns the struct if it was updated, or raises a Ecto.InvalidChangesetError
if there was
a validation error.