pub unsafe extern "C" fn duckdb_create_array_value(
type_: duckdb_logical_type,
values: *mut duckdb_value,
value_count: idx_t,
) -> duckdb_value
Expand description
Creates an array 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 array
@param values The values for the array
@param value_count The number of values in the array
@return The array value, or nullptr, if the child type is DUCKDB_TYPE_ANY
or DUCKDB_TYPE_INVALID
.