Ecto.Adapters.ClickHouse.Naming (clickhouse_adapter_ecto v0.2.0)

Copy Markdown

Identifier quoting and query source-naming helpers shared by Ecto.Adapters.ClickHouse.DDL, Ecto.Adapters.ClickHouse.QueryBuilder, and Ecto.Adapters.ClickHouse.Expression.

Identifiers are double-quoted (SELECT "id" FROM "events") -- the ANSI-standard choice, and consistent with what Postgres does elsewhere in the Ecto ecosystem. Backticks work too, but aren't used here. String literals use single quotes, as usual.