Skip to main content

duckdb_create_enum_value

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.

history:

  • stable: v1.2.0

@param type The type of the enum @param value The value for the enum @return duckdb_value