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
@type t() :: MapSet.t()
Ecto.ParameterizedType for sets.
:type (term/0) - Required. The type of the elements in the set.schema "users" do
field :email, :string
field :roles, Exandra.Set, type: :string
end
@type t() :: MapSet.t()