Function libduckdb_sys::duckdb_column_name[][src]

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 be freed; the column names will automatically be destroyed when the result is destroyed.

Returns NULL if the column is out of range.

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