Exandra.Inet (exandra v1.0.0)

Copy Markdown View Source

Ecto.Type for inets.

Examples

schema "devices" do
  field :last_ip, Exandra.Inet
end

Summary

Types

t()

The type for an Exandra inet.

Functions

Callback implementation for Ecto.Type.embed_as/1.

Callback implementation for Ecto.Type.equal?/2.

Types

t()

(since 0.11.0)
@type t() :: :inet.ip_address()

The type for an Exandra inet.

Functions

embed_as(_)

(since 0.11.0)

Callback implementation for Ecto.Type.embed_as/1.

equal?(term1, term2)

(since 0.11.0)

Callback implementation for Ecto.Type.equal?/2.