EctoNetwork.MACADDR (EctoNetwork v1.6.0)
View SourceSupport for using Ecto with :macaddr fields.
Summary
Functions
Handle casting to Postgrex.MACADDR.
Convert from native Ecto representation to a binary.
Convert to the native Ecto representation.
Handle embedding format for CIDR records.
Handle equality testing for CIDR records.
Load from the native Ecto representation.
Callback implementation for Ecto.Type.type/0.
Types
@type t() :: Postgrex.MACADDR.t()
Functions
Handle casting to Postgrex.MACADDR.
Convert from native Ecto representation to a binary.
Convert to the native Ecto representation.
Handle embedding format for CIDR records.
Handle equality testing for CIDR records.
Load from the native Ecto representation.
Callback implementation for Ecto.Type.type/0.