Function duckdb_create_struct_type

Source
pub unsafe extern "C" fn duckdb_create_struct_type(
    member_types: *mut duckdb_logical_type,
    member_names: *mut *const c_char,
    member_count: idx_t,
) -> duckdb_logical_type
Expand description

Creates a STRUCT type based on the member types and names. The resulting type must be destroyed with duckdb_destroy_logical_type.

@param member_types The array of types of the struct members. @param member_names The array of names of the struct members. @param member_count The number of members of the struct. @return The logical type.