EctoNetwork v0.5.0 EctoNetwork.CIDR

Support for using Ecto with :cidr fields

Summary

Functions

Handle casting to Postgrex.CIDR

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.CIDR

decode(c_i_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()