Function duckdb_appender_column_type

Source
pub unsafe extern "C" fn duckdb_appender_column_type(
    appender: duckdb_appender,
    col_idx: idx_t,
) -> duckdb_logical_type
Expand description

Returns the type of the column at the specified index. This is either a type in the active column list, or the same type as a column in the receiving table.

Note: The resulting type must be destroyed with duckdb_destroy_logical_type.

@param appender The appender to get the column type from. @param col_idx The index of the column to get the type of. @return The duckdb_logical_type of the column.