Function libduckdb_sys::duckdb_init_get_column_index

source ·
pub unsafe extern "C" fn duckdb_init_get_column_index(
    info: duckdb_init_info,
    column_index: idx_t
) -> idx_t
Expand description

Returns the column index of the projected column at the specified position.

This function must be used if projection pushdown is enabled to figure out which columns to emit.

info: The info object column_index: The index at which to get the projected column index, from 0..duckdb_init_get_column_count(info) returns: The column index of the projected column.