View Source Fast.Ecto.Changeset (Fast v0.9.0)
Link to this section Summary
Functions
Trims the string value of the fields if they have a change for the given field key.
Link to this section Functions
Link to this function
maybe_set_field_update_time(changeset, changed_field, changed_at_field, opts \\ [])
View SourceTrims the string value of the fields if they have a change for the given field key.
Example Usage:
changeset |> maybe_trim([:first_name, :last_name])
Link to this function