SevenottersPostgres.Schema.Atom (Seven Otters PostgreSQL support v0.2.1) View Source
Custom Type to support :atom
defmodule Post do use Ecto.Schema schema "posts" do
field :atom_field, Ecto.Atom
end end
Link to this section Summary
Functions
Callback implementation for Ecto.Type.cast/1
.
Callback implementation for Ecto.Type.dump/1
.
Callback implementation for Ecto.Type.embed_as/1
.
Callback implementation for Ecto.Type.equal?/2
.
Callback implementation for Ecto.Type.load/1
.
Callback implementation for Ecto.Type.type/0
.
Link to this section Functions
Specs
Callback implementation for Ecto.Type.cast/1
.
Specs
Callback implementation for Ecto.Type.dump/1
.
Specs
embed_as(any()) :: :self
Callback implementation for Ecto.Type.embed_as/1
.
Specs
Callback implementation for Ecto.Type.equal?/2
.
Specs
Callback implementation for Ecto.Type.load/1
.
Specs
type() :: :string
Callback implementation for Ecto.Type.type/0
.