Client APIs
API Reference Overview
Retrieves the vector at the specified column index in the data chunk.  
The pointer to the vector is valid for as long as the chunk is alive.
It does NOT need to be destroyed.  
###### Syntax {#docs:api:c:data_chunk::syntax}  
```c
duckdb_vector duckdb_data_chunk_get_vector(
duckdb_data_chunk chunk,
idx_t col_idx
);
```  
###### Parameters {#docs:api:c:data_chunk::parameters}  
* `chunk`: The data chunk to get the data from  
###### Return Value {#docs:api:c:data_chunk::return-value}  
The vector  
<br>