The old way of working was that we always passed the user context as
first argument to both step and finalize functions and the caller
had no way of getting the aggregate context from
SQLite.
Now both step and finalize functions must have a first argument of type FunctionContext:
The old way of working was that we always passed the user context as first argument to both
step
andfinalize
functions and the caller had no way of getting the aggregate context from SQLite.Now both
step
andfinalize
functions must have a first argument of typeFunctionContext
:Fixes #89