Function libduckdb_sys::duckdb_nparams

source ·
pub unsafe extern "C" fn duckdb_nparams(
    prepared_statement: duckdb_prepared_statement
) -> idx_t
Expand description

Returns the number of parameters that can be provided to the given prepared statement.

Returns 0 if the query was not successfully prepared.

prepared_statement: The prepared statement to obtain the number of parameters for.