View Source Exandra.Set (exandra v0.8.1)
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