Skip to main content

duckdb_prepared_statement_column_count

Function duckdb_prepared_statement_column_count 

Source
pub unsafe extern "C" fn duckdb_prepared_statement_column_count(
    prepared_statement: duckdb_prepared_statement,
) -> idx_t
Expand description

Returns the number of columns present in a the result of the prepared statement. If any of the column types are invalid, the result will be 1.

history:

  • unstable: v1.4.0
  • stable: v1.5.6

@param prepared_statement The prepared statement. @return idx_t