Function duckdb_get_value_type

Source
pub unsafe extern "C" fn duckdb_get_value_type(
    val: duckdb_value,
) -> duckdb_logical_type
Expand description

Returns the type of the given value. The type is valid as long as the value is not destroyed. The type itself must not be destroyed.

@param val A duckdb_value @return A duckdb_logical_type.