View Source Exandra.Set (exandra v0.10.2)

Ecto.ParameterizedType for sets.

options

Options

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

examples

Examples

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

Link to this section Summary

Link to this section Types