Client APIs
API Reference Overview
Sets the total capacity of the underlying child-vector of a list.  
After calling this method, you must call `duckdb_vector_get_validity` and `duckdb_vector_get_data` to obtain current
data and validity pointers  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_state duckdb_list_vector_reserve(
duckdb_vector vector,
idx_t required_capacity
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `vector`: The list vector.
* `required_capacity`: the total capacity to reserve.  
###### Return Value {#docs:api:c:api::return-value}  
The duckdb state. Returns DuckDBError if the vector is nullptr.  
<br>