View Source Exandra.Map (exandra v0.10.2)
Ecto.ParameterizedType
for maps.
options
Options
:key
(atom/0
) - Required. The type of the keys in the map.:value
(atom/0
) - Required. The type of the values in the map.
examples
Examples
schema "user_metadata" do
field :free_form_meta, Exandra.Map, key: :string, value: :string
end