Client APIs
API Reference Overview
Retrieves the enum `duckdb_type` of a `duckdb_logical_type`.  
###### Syntax {#docs:api:c:types::syntax}  
```c
duckdb_type duckdb_get_type_id(
duckdb_logical_type type
);
```  
###### Parameters {#docs:api:c:types::parameters}  
* `type`: The logical type.  
###### Return Value {#docs:api:c:types::return-value}  
The `duckdb_type` id.  
<br>