Client APIs
API Reference Overview
Registers a custom type within the given connection.
The type must have an alias  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_state duckdb_register_logical_type(
duckdb_connection con,
duckdb_logical_type type,
duckdb_create_type_info info
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `con`: The connection to use
* `type`: The custom type to register  
###### Return Value {#docs:api:c:api::return-value}  
Whether or not the registration was successful.  
<br>