Function libduckdb_sys::duckdb_list_vector_reserve

source ·
pub unsafe extern "C" fn duckdb_list_vector_reserve(
    vector: duckdb_vector,
    required_capacity: idx_t
) -> duckdb_state
Expand description

Sets the total capacity of the underlying child-vector of a list.

vector: The list vector. required_capacity: the total capacity to reserve. return: The duckdb state. Returns DuckDBError if the vector is nullptr.