|
cx.create_function(name, argc, func) Registers a user-defined function called name in SQL using the Python function func. The number of arguments to the function is given in argc. cx.create_aggregate(name, argc, aggregate) Registers a user-defined aggregating function called name in SQL using the Python class aggregate, which must contain the member functions reset(), step(), and finalize(). |
|