Function libduckdb_sys::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 duckdb_logical_type
of type decimal with the specified width and scale
The resulting type should be destroyed with duckdb_destroy_logical_type
.
width: The width of the decimal type scale: The scale of the decimal type returns: The logical type.