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
.
@param type The logical type object
@param index The child index
@return The child type of the struct type. Must be destroyed with duckdb_destroy_logical_type
.