File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ This method allows one or more SQL statements to be executed without returning
323323any results. This method is useful when executing SQL statements read from a
324324file. This method is a wrapper around [ ` sqlite3_exec() ` ] [ ] .
325325
326- ### ` database.function(name[, options], function ) `
326+ ### ` database.function(name[, options], fn ) `
327327
328328<!-- YAML
329329added:
@@ -345,10 +345,10 @@ added:
345345 arguments (between zero and [ ` SQLITE_MAX_FUNCTION_ARG ` ] [ ] ). If ` false ` ,
346346 ` function ` must be invoked with exactly ` function.length ` arguments.
347347 ** Default:** ` false ` .
348- * ` function ` {Function} The JavaScript function to call when the SQLite
349- function is invoked. The return value of this function should be a valid
350- SQLite data type: see [ Type conversion between JavaScript and SQLite] [ ] .
351- The result defaults to ` NULL ` if the return value is ` undefined ` .
348+ * ` fn ` {Function} The JavaScript function to call when the SQLite function is
349+ invoked. The return value of this function should be a valid SQLite data type:
350+ see [ Type conversion between JavaScript and SQLite] [ ] . The result defaults to
351+ ` NULL ` if the return value is ` undefined ` .
352352
353353This method is used to create SQLite user-defined functions. This method is a
354354wrapper around [ ` sqlite3_create_function_v2() ` ] [ ] .
You can’t perform that action at this time.
0 commit comments