View Source Fast.Ecto.Changeset (Fast v0.8.1)

Link to this section Summary

Link to this section Functions

Link to this function

default_value(changeset, field, value)

View Source
Link to this function

downcase(changeset, field)

View Source
Link to this function

encode_www_form(changeset, fields)

View Source
Link to this function

inflect_address_acronyms(changeset, field)

View Source
Link to this function

inflect_title_acronyms(changeset, field)

View Source
Link to this function

maybe_set_field_update_time(changeset, changed_field, changed_at_field, opts \\ [])

View Source
Link to this function

maybe_trim(changeset, fields)

View Source

Trims 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

normalize_phone_number(changeset, field)

View Source
Link to this function

put_hash(changeset, field, opts \\ [])

View Source
Link to this function

put_new(changeset, field, value)

View Source
Link to this function

require_one_of(changeset, fields, opts \\ [])

View Source
Link to this function

slugify(changeset, fields)

View Source
Link to this function

titlecase(changeset, field)

View Source
Link to this function

validate_contains_alphabetic_character(changeset, field, opts \\ [])

View Source
Link to this function

validate_contains_numeric_character(changeset, field, opts \\ [])

View Source
Link to this function

validate_contains_special_character(changeset, field, opts \\ [])

View Source
Link to this function

validate_is_hex_color_code(changeset, field, opts \\ [])

View Source
Link to this function

validate_is_non_disposable_email(changeset, field, options \\ [])

View Source
Link to this function

validate_password_rules(changeset, field, opts \\ [])

View Source
Link to this function

validate_phone_number(changeset, field, opts \\ [])

View Source