You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i want to create user-defined aggregate functions when using my sqlite database. sqlite expects aggregate functions to be defined with the same api as typical user-defined functions, plus additional aggregation parameters.
node:sqlite provides access to the sqlite function definition api with a wrapper for sqlite3_create_function_v2 as the instance method DatabaseSync.function
but, this wrapper always passes null for the aggregation parameter refs.
i created this issue from the line highlight menu on node_sqlite.cc, so i didn't get the template prompt or label selection. sorry if this is out-of-order
i want to create user-defined aggregate functions when using my sqlite database. sqlite expects aggregate functions to be defined with the same api as typical user-defined functions, plus additional aggregation parameters.
node:sqlite
provides access to the sqlite function definition api with a wrapper forsqlite3_create_function_v2
as the instance methodDatabaseSync.function
but, this wrapper always passes
null
for the aggregation parameter refs.node/src/node_sqlite.cc
Lines 669 to 677 in 3b5f235
implementation suggestions
aggregate
orreduce
, for user-defined functions that use these additional callback parametersfunction
that accept the callbacks, in the same order as the sqlite apifunction
options parameter objectThe text was updated successfully, but these errors were encountered: