Client APIs
API Reference Overview
Returns the logical column type of the specified column.  
The return type of this call should be destroyed with `duckdb_destroy_logical_type`.  
Returns `NULL` if the column is out of range.  
###### Syntax {#docs:api:c:query::syntax}  
```c
duckdb_logical_type duckdb_column_logical_type(
duckdb_result *result,
idx_t col
);
```  
###### Parameters {#docs:api:c:query::parameters}  
* `result`: The result object to fetch the column type from.
* `col`: The column index.  
###### Return Value {#docs:api:c:query::return-value}  
The logical column type of the specified column.  
<br>