duckdb_create_list_value

Function duckdb_create_list_value 

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

Creates a list value from a child (element) type and an array of values of length value_count. Must be destroyed with duckdb_destroy_value.

@param type The type of the list @param values The values for the list @param value_count The number of values in the list @return The list value, or nullptr, if the child type is DUCKDB_TYPE_ANY or DUCKDB_TYPE_INVALID.