duckdb_enum_dictionary_value

Function duckdb_enum_dictionary_value 

Source
pub unsafe extern "C" fn duckdb_enum_dictionary_value(
    type_: duckdb_logical_type,
    index: idx_t,
) -> *mut c_char
Expand description

Retrieves the dictionary value at the specified position from the enum.

The result must be freed with duckdb_free.

@param type The logical type object @param index The index in the dictionary @return The string value of the enum type. Must be freed with duckdb_free.