Exandra.UDT (exandra v0.3.1)
Ecto.Type
for User-Defined Types (UDTs).
options
Options
:type
(atom/0
) - Required. The UDT.
examples
Examples
For example, if you have defined an email
UDT in your database, you can
use it in your schema like this:
schema "users" do
field :email, Exandra.UDT, type: :email
end