Skip to content

Commit 303de33

Browse files
committed
sqlite,doc: add changelog
1 parent 1a0182f commit 303de33

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

doc/api/sqlite.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ console.log(query.all());
7777

7878
<!-- YAML
7979
added: v22.5.0
80+
changes:
81+
- version: REPLACEME
82+
pr-url: https://github.com/nodejs/node/pull/56991
83+
description: The `location` argument now supports Buffer and URL objects
8084
-->
8185

8286
This class represents a single [connection][] to a SQLite database. All APIs
@@ -88,7 +92,7 @@ exposed by this class execute synchronously.
8892
added: v22.5.0
8993
-->
9094

91-
* `location` {string} | {Buffer} | {URL} The location of the database. A SQLite database can be
95+
* `location` {string | Buffer | URL} The location of the database. A SQLite database can be
9296
stored in a file or completely [in memory][]. To use a file-backed database,
9397
the location should be a file path. To use an in-memory database, the location
9498
should be the special name `':memory:'`.
@@ -538,10 +542,14 @@ exception.
538542

539543
<!-- YAML
540544
added: v23.8.0
545+
changes:
546+
- version: REPLACEME
547+
pr-url: https://github.com/nodejs/node/pull/56991
548+
description: The `destination` argument now supports Buffer and URL objects
541549
-->
542550

543551
* `sourceDb` {DatabaseSync} The database to backup. The source database must be open.
544-
* `destination` {string} | {Buffer} | {URL} The path where the backup will be created. If the file already exists,
552+
* `destination` {string | Buffer | URL} The path where the backup will be created. If the file already exists,
545553
the contents will be overwritten.
546554
* `options` {Object} Optional configuration for the backup. The
547555
following properties are supported:

0 commit comments

Comments
 (0)