Fields.EmailPlaintext (fields v2.8.0)
An Ecto Type for plaintext emails.
Useful for publicly available email addressses such as customer support emails.
See Fields.EmailEncrypted
and Fields.EmailHash
for storing user email addresses.
Example
schema "retailers" do
field(:email, Fields.EmailPlaintext)
end
Link to this section Summary
Link to this section Functions
Link to this function
cast(value)
Link to this function
dump(value)
Link to this function
embed_as(_)
Link to this function
equal?(term1, term2)
Link to this function
load(value)
Link to this function