Function libduckdb_sys::duckdb_create_map_type

source ·
pub unsafe extern "C" fn duckdb_create_map_type(
    key_type: duckdb_logical_type,
    value_type: duckdb_logical_type
) -> duckdb_logical_type
Expand description

Creates a map type from its key type and value type. The resulting type should be destroyed with duckdb_destroy_logical_type.

type: The key type and value type of map type to create. returns: The logical type.