Function duckdb_register_cast_function

Source
pub unsafe extern "C" fn duckdb_register_cast_function(
    con: duckdb_connection,
    cast_function: duckdb_cast_function,
) -> duckdb_state
Expand description

Registers a cast function within the given connection.

@param con The connection to use. @param cast_function The cast function to register. @return Whether or not the registration was successful.