Function libduckdb_sys::duckdb_struct_type_child_type
source · pub unsafe extern "C" fn duckdb_struct_type_child_type(
type_: duckdb_logical_type,
index: idx_t
) -> duckdb_logical_type
Expand description
Retrieves the child type of the given struct type at the specified index.
The result must be freed with duckdb_destroy_logical_type
.
type: The logical type object
index: The child index
returns: The child type of the struct type. Must be destroyed with duckdb_destroy_logical_type
.