# `Exandra.Map`
[🔗](https://github.com/vinniefranco/exandra/blob/v1.1.0/lib/exandra/map.ex#L1)

`Ecto.ParameterizedType` for maps.

## Options

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

* `:value` (`t:term/0`) - Required. The type of the values in the map.

## Examples

    schema "user_metadata" do
      field :free_form_meta, Exandra.Map, key: :string, value: :string
    end

# `key`

```elixir
@type key() :: term()
```

# `t`

```elixir
@type t() :: %{optional(key()) =&gt; value()}
```

# `value`

```elixir
@type value() :: term()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
