Function libduckdb_sys::duckdb_create_logical_type

source ·
pub unsafe extern "C" fn duckdb_create_logical_type(
    type_: duckdb_type
) -> duckdb_logical_type
Expand description

Creates a duckdb_logical_type from a standard primitive type. The resulting type should be destroyed with duckdb_destroy_logical_type.

This should not be used with DUCKDB_TYPE_DECIMAL.

type: The primitive type to create. returns: The logical type.