Function duckdb_add_aggregate_function_to_set

Source
pub unsafe extern "C" fn duckdb_add_aggregate_function_to_set(
    set: duckdb_aggregate_function_set,
    function: duckdb_aggregate_function,
) -> duckdb_state
Expand description

Adds the aggregate function as a new overload to the aggregate function set.

Returns DuckDBError if the function could not be added, for example if the overload already exists.

@param set The aggregate function set @param function The function to add