Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ecto_ch to adapters list #4313

Merged
merged 3 commits into from
Nov 11, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,14 @@ See the [getting started guide](https://hexdocs.pm/ecto/getting-started.html) an

You need to add both Ecto and the database adapter as a dependency to your `mix.exs` file. The supported databases and their adapters are:

| Database | Ecto Adapter | Dependencies |
| :--------- | :--------------------- | :------------------------------------------------------------------------ |
| PostgreSQL | Ecto.Adapters.Postgres | [ecto_sql][ecto_sql] (requires Ecto v3.0+) + [postgrex][postgrex] |
| MySQL | Ecto.Adapters.MyXQL | [ecto_sql][ecto_sql] (requires Ecto v3.3+) + [myxql][myxql] |
| MSSQL | Ecto.Adapters.Tds | [ecto_sql][ecto_sql] (requires Ecto v3.4+) + [tds][tds] |
| SQLite3 | Ecto.Adapters.SQLite3 | [ecto_sql][ecto_sql] (requires Ecto v3.5+) + [ecto_sqlite3][ecto_sqlite3] |
| ETS     | Etso   | [ecto][ecto] + [etso][etso] |
| Database | Ecto Adapter | Dependencies |
| :--------- | :----------------------- | :------------------------------------------------------------------------ |
| PostgreSQL | Ecto.Adapters.Postgres | [ecto_sql][ecto_sql] (requires Ecto v3.0+) + [postgrex][postgrex] |
| MySQL | Ecto.Adapters.MyXQL | [ecto_sql][ecto_sql] (requires Ecto v3.3+) + [myxql][myxql] |
| MSSQL | Ecto.Adapters.Tds | [ecto_sql][ecto_sql] (requires Ecto v3.4+) + [tds][tds] |
| SQLite3 | Ecto.Adapters.SQLite3 | [ecto_sql][ecto_sql] (requires Ecto v3.5+) + [ecto_sqlite3][ecto_sqlite3] |
| ETS     | Etso   | [ecto][ecto] + [etso][etso] |
| ClickHouse | Ecto.Adapters.ClickHouse | [ecto_sql][ecto_sql] (requires Ecto v3.9+) + [ch][ch] |
ruslandoga marked this conversation as resolved.
Show resolved Hide resolved

[ecto]: https://github.com/elixir-ecto/ecto
[ecto_sql]: https://github.com/elixir-ecto/ecto_sql
Expand All @@ -100,6 +101,7 @@ You need to add both Ecto and the database adapter as a dependency to your `mix.
[tds]: https://github.com/livehelpnow/tds
[ecto_sqlite3]: https://github.com/elixir-sqlite/ecto_sqlite3
[etso]: https://github.com/evadne/etso
[ch]: https://github.com/plausible/ch
ruslandoga marked this conversation as resolved.
Show resolved Hide resolved

For example, if you want to use PostgreSQL, add to your `mix.exs` file:

Expand Down