pub unsafe extern "C" fn duckdb_register_scalar_function(
con: duckdb_connection,
scalar_function: duckdb_scalar_function,
) -> duckdb_stateExpand description
Register the scalar function object within the given connection.
The function requires at least a name, a function and a return type.
If the function is incomplete or a function with this name already exists DuckDBError is returned.
@param con The connection to register it in. @param scalar_function The function pointer @return Whether or not the registration was successful.