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 @@ -325,7 +325,7 @@ This method allows one or more SQL statements to be executed without returning
325325any results. This method is useful when executing SQL statements read from a
326326file. This method is a wrapper around [ ` sqlite3_exec() ` ] [ ] .
327327
328- ### ` database.function(name[, options], function ) `
328+ ### ` database.function(name[, options], fn ) `
329329
330330<!-- YAML
331331added:
@@ -347,10 +347,10 @@ added:
347347 arguments (between zero and [ ` SQLITE_MAX_FUNCTION_ARG ` ] [ ] ). If ` false ` ,
348348 ` function ` must be invoked with exactly ` function.length ` arguments.
349349 ** Default:** ` false ` .
350- * ` function ` {Function} The JavaScript function to call when the SQLite
351- function is invoked. The return value of this function should be a valid
352- SQLite data type: see [ Type conversion between JavaScript and SQLite] [ ] .
353- The result defaults to ` NULL ` if the return value is ` undefined ` .
350+ * ` fn ` {Function} The JavaScript function to call when the SQLite function is
351+ invoked. The return value of this function should be a valid SQLite data type:
352+ see [ Type conversion between JavaScript and SQLite] [ ] . The result defaults to
353+ ` NULL ` if the return value is ` undefined ` .
354354
355355This method is used to create SQLite user-defined functions. This method is a
356356wrapper around [ ` sqlite3_create_function_v2() ` ] [ ] .
You can’t perform that action at this time.
0 commit comments