Function duckdb_create_struct_value

Source
pub unsafe extern "C" fn duckdb_create_struct_value(
    type_: duckdb_logical_type,
    values: *mut duckdb_value,
) -> duckdb_value
Expand description

Creates a struct value from a type and an array of values. Must be destroyed with duckdb_destroy_value.

@param type The type of the struct @param values The values for the struct fields @return The struct value, or nullptr, if any child type is DUCKDB_TYPE_ANY or DUCKDB_TYPE_INVALID.