pub unsafe extern "C" fn duckdb_create_union_value(
union_type: duckdb_logical_type,
tag_index: idx_t,
value: duckdb_value,
) -> duckdb_valueExpand description
Creates a union value from a union type, a tag index, and a value. Must be destroyed with duckdb_destroy_value.
history:
- unstable: v1.3.0
- stable: v1.5.6
@param union_type The union type @param tag_index The index of the tag of the union @param value The value of the union for that tag @return duckdb_value