View Source Base62UUIDField (Base62UUIDField v2.0.0)

A field that is stored as a v4 UUID but presented as a Base62-encoded binary string.

Link to this section Summary

Functions

Callback implementation for Ecto.Type.autogenerate/0.

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

autogenerate() :: String.t()

Callback implementation for Ecto.Type.autogenerate/0.

Specs

cast(any()) :: {:ok, String.t()} | :error

Callback implementation for Ecto.Type.cast/1.

Specs

dump(any()) :: {:ok, any()} | :error

Callback implementation for Ecto.Type.dump/1.

Callback implementation for Ecto.Type.embed_as/1.

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

Specs

load(any()) :: {:ok, any()} | :error

Callback implementation for Ecto.Type.load/1.

Specs

type() :: :string

Callback implementation for Ecto.Type.type/0.