Function duckdb_register_logical_type

Source
pub unsafe extern "C" fn duckdb_register_logical_type(
    con: duckdb_connection,
    type_: duckdb_logical_type,
    info: duckdb_create_type_info,
) -> duckdb_state
Expand description

Registers a custom type within the given connection. The type must have an alias

@param con The connection to use @param type The custom type to register @return Whether or not the registration was successful.