pub unsafe extern "C" fn duckdb_create_enum_type(
member_names: *mut *const c_char,
member_count: idx_t,
) -> duckdb_logical_type
Expand description
Creates an ENUM type from the passed member name array.
The resulting type should be destroyed with duckdb_destroy_logical_type
.
@param member_names The array of names that the enum should consist of. @param member_count The number of elements that were specified in the array. @return The logical type.