Function libduckdb_sys::duckdb_param_type

source ·
pub unsafe extern "C" fn duckdb_param_type(
    prepared_statement: duckdb_prepared_statement,
    param_idx: idx_t
) -> duckdb_type
Expand description

Returns the parameter type for the parameter at the given index.

Returns DUCKDB_TYPE_INVALID if the parameter index is out of range or the statement was not successfully prepared.

prepared_statement: The prepared statement. param_idx: The parameter index. returns: The parameter type