duckdb_create_vector

Function duckdb_create_vector 

Source
pub unsafe extern "C" fn duckdb_create_vector(
    type_: duckdb_logical_type,
    capacity: idx_t,
) -> duckdb_vector
Expand description

Creates a flat vector. Must be destroyed with duckdb_destroy_vector.

@param type The logical type of the vector. @param capacity The capacity of the vector. @return The vector.