Function duckdb_column_logical_type

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

Returns the logical column type of the specified column.

The return type of this call should be destroyed with duckdb_destroy_logical_type.

Returns NULL 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 logical column type of the specified column.