pub unsafe extern "C" fn duckdb_list_vector_reserve(
vector: duckdb_vector,
required_capacity: idx_t,
) -> duckdb_stateExpand description
Sets the capacity of the underlying child-vector of a list vector. We increment to the next power of two, based on
the required capacity. Thus, the capacity might not match the size of the list (capacity >= size), which is set via
duckdb_list_vector_set_size.
history:
- stable: v0.7.0
@param vector The list vector. @param required_capacity The child buffer capacity to reserve. @return duckdb_state