Exandra.Set (exandra v1.1.0)

Copy Markdown View Source

Ecto.ParameterizedType for sets.

Options

  • :type (term/0) - Required. The type of the elements in the set.

Examples

schema "users" do
  field :email, :string
  field :roles, Exandra.Set, type: :string
end

Summary

Types

t()

@type t() :: MapSet.t()