quackdb_internal::ffi

Function duckdb_decimal_scale

Source
pub unsafe extern "C" fn duckdb_decimal_scale(
    type_: *mut _duckdb_logical_type,
) -> u8
Expand description

Retrieves the scale of a decimal type.

type: The logical type object returns: The scale of the decimal type