GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: rename invalid `function` parameter · nodejs/node@dc12a25

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • sqlite.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/sqlite.md‎

Copy file name to clipboardExpand all lines: doc/api/sqlite.md
+5-5Lines changed: 5 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ This method allows one or more SQL statements to be executed without returning
321321
any results. This method is useful when executing SQL statements read from a
322322
file. This method is a wrapper around [`sqlite3_exec()`][].
323323

324-
### `database.function(name[, options], function)`
324+
### `database.function(name[, options], fn)`
325325

326326
<!-- YAML
327327
added:
@@ -343,10 +343,10 @@ added:
343343
arguments (between zero and [`SQLITE_MAX_FUNCTION_ARG`][]). If `false`,
344344
`function` must be invoked with exactly `function.length` arguments.
345345
**Default:** `false`.
346-
* `function` {Function} The JavaScript function to call when the SQLite
347-
function is invoked. The return value of this function should be a valid
348-
SQLite data type: see [Type conversion between JavaScript and SQLite][].
349-
The result defaults to `NULL` if the return value is `undefined`.
346+
* `fn` {Function} The JavaScript function to call when the SQLite function is
347+
invoked. The return value of this function should be a valid SQLite data type:
348+
see [Type conversion between JavaScript and SQLite][]. The result defaults to
349+
`NULL` if the return value is `undefined`.
350350

351351
This method is used to create SQLite user-defined functions. This method is a
352352
wrapper around [`sqlite3_create_function_v2()`][].

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.