Client APIs
API Reference Overview
Creates an ENUM type from the passed member name array.
The resulting type should be destroyed with `duckdb_destroy_logical_type`.  
###### Syntax {#docs:api:c:types::syntax}  
```c
duckdb_logical_type duckdb_create_enum_type(
const char **member_names,
idx_t member_count
);
```  
###### Parameters {#docs:api:c:types::parameters}  
* `member_names`: The array of names that the enum should consist of.
* `member_count`: The number of elements that were specified in the array.  
###### Return Value {#docs:api:c:types::return-value}  
The logical type.  
<br>