Function libduckdb_sys::duckdb_union_type_member_type

source ·
pub unsafe extern "C" fn duckdb_union_type_member_type(
    type_: duckdb_logical_type,
    index: idx_t
) -> duckdb_logical_type
Expand description

Retrieves the child type of the given union member at the specified index.

The result must be freed with duckdb_destroy_logical_type.

type: The logical type object index: The child index returns: The child type of the union member. Must be destroyed with duckdb_destroy_logical_type.