View Source EctoNetwork.CIDR (EctoNetwork v1.5.0)

Support for using Ecto with :cidr fields.

Summary

Functions

Handle casting to Postgrex.INET

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

Functions

Handle casting to Postgrex.INET

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.