Function duckdb_create_union_type

Source
pub unsafe extern "C" fn duckdb_create_union_type(
    member_types: *mut duckdb_logical_type,
    member_names: *mut *const c_char,
    member_count: idx_t,
) -> duckdb_logical_type
Expand description

Creates a UNION type from the passed arrays. The return type must be destroyed with duckdb_destroy_logical_type.

@param member_types The array of union member types. @param member_names The union member names. @param member_count The number of union members. @return The logical type.