pub unsafe extern "C" fn duckdb_create_logical_type(
type_: duckdb_type,
) -> duckdb_logical_typeExpand description
Creates a duckdb_logical_type from a primitive type.
The resulting logical type must be destroyed with duckdb_destroy_logical_type.
Returns an invalid logical type, if type is: DUCKDB_TYPE_INVALID, DUCKDB_TYPE_DECIMAL, DUCKDB_TYPE_ENUM,
DUCKDB_TYPE_LIST, DUCKDB_TYPE_STRUCT, DUCKDB_TYPE_MAP, DUCKDB_TYPE_ARRAY, or DUCKDB_TYPE_UNION.
@param type The primitive type to create. @return The logical type.