EctoNetwork v0.5.0 EctoNetwork.MACADDR

Support 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

Load from the native Ecto representation

Functions

cast(address)

Handle casting to Postgrex.MACADDR

decode(m_a_c_a_d_d_r)

Convert from native Ecto representation to a binary

dump(address)

Convert to the native Ecto representation

load(address)

Load from the native Ecto representation

type()