Function duckdb_create_data_chunk

Source
pub unsafe extern "C" fn duckdb_create_data_chunk(
    types: *mut duckdb_logical_type,
    column_count: idx_t,
) -> duckdb_data_chunk
Expand description

Creates an empty data chunk with the specified column types. The result must be destroyed with duckdb_destroy_data_chunk.

@param types An array of column types. Column types can not contain ANY and INVALID types. @param column_count The number of columns. @return The data chunk.