pub unsafe extern "C" fn duckdb_create_map_value(
map_type: duckdb_logical_type,
keys: *mut duckdb_value,
values: *mut duckdb_value,
entry_count: idx_t,
) -> duckdb_value
Expand description
Creates a map value from a map type and two arrays, one for the keys and one for the values, each of length
entry_count
. Must be destroyed with duckdb_destroy_value
.
@param map_type The map type @param keys The keys of the map @param values The values of the map @param entry_count The number of entrys (key-value pairs) in the map @return The map value, or nullptr, if the parameters are invalid.