Function libduckdb_sys::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 DataChunk with the specified set of types.
Note that the result must be destroyed with duckdb_destroy_data_chunk
.
types: An array of types of the data chunk. column_count: The number of columns. returns: The data chunk.