Proca.Validations (proca v3.4.1)
Link to this section Summary
Link to this section Functions
Link to this function
peek_unique_error(x)
Link to this function
validate_after(changeset, field1, field2)
Validate that two fields are Datetimes after each other.
Link to this function
validate_flat_map(changeset, fieldname)
Specs
validate_flat_map(Ecto.Changeset.t(), atom()) :: Ecto.Changeset.t()
Validate that change is a:
- map
- keys are strings
- values are strings, numbers or booleans, or lists of strings and numbers
Link to this function
validate_iso8601_format(changeset, field)
Link to this function