Function libduckdb_sys::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.

type: The logical type object index: The index in the dictionary returns: The string value of the enum type. Must be freed with duckdb_free.