Function duckdb_create_enum_value

Source
pub unsafe extern "C" fn duckdb_create_enum_value(
    type_: duckdb_logical_type,
    value: u64,
) -> duckdb_value
Expand description

Creates an enum value from a type and a value. Must be destroyed with duckdb_destroy_value.

@param type The type of the enum @param value The value for the enum @return The enum value, or nullptr.