Client APIs
API Reference Overview
Creates a STRUCT type based on the member types and names.
The resulting type must be destroyed with `duckdb_destroy_logical_type`.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_logical_type duckdb_create_struct_type(
duckdb_logical_type *member_types,
const char **member_names,
idx_t member_count
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `member_types`: The array of types of the struct members.
* `member_names`: The array of names of the struct members.
* `member_count`: The number of members of the struct.  
###### Return Value {#docs:api:c:api::return-value}  
The logical type.  
<br>