Expand description
ClickHouse query parameter values for {name:Type} placeholders.
Values are encoded as strings for the libchdb C API. The SQL still names the ClickHouse type; this crate does not interpolate values into the query text. After chDB receives the encoded strings, it parses them and substitutes them during planning.
use chdb_rust::execute_with_params;
let result = execute_with_params("SELECT {x:UInt64} AS v", None, [("x", 7_u64)])?;Structs§
- Query
Params - Builder for mixed-type parameter maps.
Enums§
- Query
Param - A value bound to a
{name:Type}placeholder in a parameterized query.