mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Add aggregate function support to sqlite3.oo1.DB.createFunction(). Change signature of the options object used by that function so that the callback property names match those of the corresponding C APIs.
FossilOrigin-Name: a7db6e4b50beebfb1c97e0c4de49538d8199c166b18a0b1b175736c593128a00
This commit is contained in:
@ -160,7 +160,7 @@
|
||||
log("Create a scalar UDF...");
|
||||
db.createFunction({
|
||||
name: 'twice',
|
||||
callback: function(pCx, arg){ // note the call arg count
|
||||
xFunc: function(pCx, arg){ // note the call arg count
|
||||
return arg + arg;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user