View Source Exandra.Map (exandra v0.11.0)

Ecto.ParameterizedType for maps.

options

Options

  • :key (term/0) - Required. The type of the keys in the map.

  • :value (term/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