pub unsafe extern "C" fn duckdb_register_table_function(
    con: duckdb_connection,
    function: duckdb_table_function
) -> duckdb_state
Expand description

Register the table function object within the given connection.

The function requires at least a name, a bind function, an init function and a main function.

If the function is incomplete or a function with this name already exists DuckDBError is returned.

con: The connection to register it in. function: The function pointer returns: Whether or not the registration was successful.