duckdb_column_name

Function duckdb_column_name 

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

Returns the column name of the specified column. The result should not need to be freed; the column names will automatically be destroyed when the result is destroyed.

Returns NULL if the column is out of range.

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