pub unsafe extern "C" fn duckdb_param_logical_type(
prepared_statement: duckdb_prepared_statement,
param_idx: idx_t,
) -> duckdb_logical_type
Expand description
Returns the logical type for the parameter at the given index.
Returns nullptr
if the parameter index is out of range or the statement was not successfully prepared.
The return type of this call should be destroyed with duckdb_destroy_logical_type
.
@param prepared_statement The prepared statement. @param param_idx The parameter index. @return The logical type of the parameter