Function duckdb_column_type

Source
pub unsafe extern "C" fn duckdb_column_type(
    result: *mut duckdb_result,
    col: idx_t,
) -> duckdb_type
Expand description

Returns the column type of the specified column.

Returns DUCKDB_TYPE_INVALID if the column is out of range.

@param result The result object to fetch the column type from. @param col The column index. @return The column type of the specified column.