Skip to main content

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.

history:

  • stable: v0.3.3

@param type The logical type object @param index The index in the dictionary @return char*