# `AshPostgres.Extensions.Vector`
[🔗](https://github.com/ash-project/ash_postgres/blob/v2.9.1/lib/extensions/vector.ex#L5)

An extension that adds support for the `vector` type.

Create a file with these contents, not inside of a module:

```elixir
Postgrex.Types.define(<YourApp>.PostgrexTypes, [AshPostgres.Extensions.Vector] ++ Ecto.Adapters.Postgres.extensions(), [])
```

And then ensure that you refer to these types in your repo configuration, i.e

```elixir
config :my_app, YourApp.Repo,
  types: <YourApp>.PostgrexTypes
```

# `decode`

# `encode`

# `format`

# `init`

# `matching`

---

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