pub fn query_params(
database: &str,
settings: &[(&str, &str)],
) -> Vec<(String, String)>Available on crate features
sink-clickhouse or source-clickhouse only.Expand description
Build the ordered (key, value) query parameters for a ClickHouse HTTP
request: the database parameter followed by any extra settings
(e.g. ("default_format", "JSONEachRow"), ("async_insert", "1")).
The values are handed to reqwest’s .query(), which performs URL encoding.