clickhouse.rs icon indicating copy to clipboard operation
clickhouse.rs copied to clipboard

Construct client from connection URL with parameters

Open abonander opened this issue 1 month ago • 0 comments

Use case

it should be possible to put configuration parameters for Client into a single connection string.

Example from JS client: https://github.com/ClickHouse/clickhouse-js/blob/main/examples/url_configuration.ts

Describe the solution you'd like

  • Implement FromStr for Client (?)
  • Client::from_url() (?)

Describe the alternatives you've considered

Additional context

1.0 wishlist: feature parity with other clients.

abonander avatar Oct 20 '25 13:10 abonander