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.

enum_name: The name of the enum. member_names: The array of names that the enum should consist of. member_count: The number of elements that were specified in the array. returns: The logical type.