Client APIs
API Reference Overview
Retrieves the number of columns in a data chunk.  
###### Syntax {#docs:api:c:data_chunk::syntax}  
```c
idx_t duckdb_data_chunk_get_column_count(
duckdb_data_chunk chunk
);
```  
###### 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 number of columns in the data chunk  
<br>