Function duckdb_create_decimal_type

Source
pub unsafe extern "C" fn duckdb_create_decimal_type(
    width: u8,
    scale: u8,
) -> duckdb_logical_type
Expand description

Creates a DECIMAL type with the specified width and scale. The resulting type should be destroyed with duckdb_destroy_logical_type.

@param width The width of the decimal type @param scale The scale of the decimal type @return The logical type.