Client APIs
API Reference Overview
Sets the return type of the aggregate function.  
###### Syntax {#docs:api:c:api::syntax}  
```c
void duckdb_aggregate_function_set_return_type(
duckdb_aggregate_function aggregate_function,
duckdb_logical_type type
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `aggregate_function`: The aggregate function.
* `type`: The return type. Cannot contain INVALID or ANY.  
<br>