quackdb_internal::ffi

Function duckdb_column_type

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

Returns the column type of the specified column.

Returns DUCKDB_TYPE_INVALID if the column is out of range.

result: The result object to fetch the column type from. col: The column index. returns: The column type of the specified column.