Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d8204d3

Browse filesBrowse files
Renegade334aduh95
authored andcommitted
doc: rename invalid function parameter
PR-URL: #61942 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
1 parent 34b6305 commit d8204d3
Copy full SHA for d8204d3

1 file changed

+5-5Lines changed: 5 additions & 5 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
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
@@ -313,7 +313,7 @@ This method allows one or more SQL statements to be executed without returning
313313
any results. This method is useful when executing SQL statements read from a
314314
file. This method is a wrapper around [`sqlite3_exec()`][].
315315

316-
### `database.function(name[, options], function)`
316+
### `database.function(name[, options], fn)`
317317

318318
<!-- YAML
319319
added:
@@ -335,10 +335,10 @@ added:
335335
arguments (between zero and [`SQLITE_MAX_FUNCTION_ARG`][]). If `false`,
336336
`function` must be invoked with exactly `function.length` arguments.
337337
**Default:** `false`.
338-
* `function` {Function} The JavaScript function to call when the SQLite
339-
function is invoked. The return value of this function should be a valid
340-
SQLite data type: see [Type conversion between JavaScript and SQLite][].
341-
The result defaults to `NULL` if the return value is `undefined`.
338+
* `fn` {Function} The JavaScript function to call when the SQLite function is
339+
invoked. The return value of this function should be a valid SQLite data type:
340+
see [Type conversion between JavaScript and SQLite][]. The result defaults to
341+
`NULL` if the return value is `undefined`.
342342

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.