Client APIs
API Reference Overview
Creates an array value from a child (element) type and an array of values of length `value_count`.
Must be destroyed with `duckdb_destroy_value`.  
###### Syntax {#docs:api:c:value::syntax}  
```c
duckdb_value duckdb_create_array_value(
duckdb_logical_type type,
duckdb_value *values,
idx_t value_count
);
```  
###### Parameters {#docs:api:c:value::parameters}  
* `type`: The type of the array
* `values`: The values for the array
* `value_count`: The number of values in the array  
###### Return Value {#docs:api:c:value::return-value}  
The array value, or nullptr, if the child type is `DUCKDB_TYPE_ANY` or `DUCKDB_TYPE_INVALID`.  
<br>