duckdb_map_type_key_type

Function duckdb_map_type_key_type 

Source
pub unsafe extern "C" fn duckdb_map_type_key_type(
    type_: duckdb_logical_type,
) -> duckdb_logical_type
Expand description

Retrieves the key type of the given map type.

The result must be freed with duckdb_destroy_logical_type.

@param type The logical type object @return The key type of the map type. Must be destroyed with duckdb_destroy_logical_type.