aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-prologue.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-12-13 10:54:12 +0000
committerstephan <stephan@noemail.net>2022-12-13 10:54:12 +0000
commit3c9749ab74a61aefb49995996815aa06365fb1ad (patch)
treee10290612770127064ff870645e3fc9d3a536fb5 /ext/wasm/api/sqlite3-api-prologue.js
parent30f50a2d34a0859cbd7d9424bd53eb6cd1306c3a (diff)
downloadsqlite-3c9749ab74a61aefb49995996815aa06365fb1ad.tar.gz
sqlite-3c9749ab74a61aefb49995996815aa06365fb1ad.zip
Document the role of the sqlite3.client JS API property.
FossilOrigin-Name: 5f11f1c7d5f8b627acd2ace277521d39fe2ffb0ef1dfe532e65fb56ea3dfb4d8
Diffstat (limited to 'ext/wasm/api/sqlite3-api-prologue.js')
-rw-r--r--ext/wasm/api/sqlite3-api-prologue.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-api-prologue.js b/ext/wasm/api/sqlite3-api-prologue.js
index e472bbdab..ef0885cb9 100644
--- a/ext/wasm/api/sqlite3-api-prologue.js
+++ b/ext/wasm/api/sqlite3-api-prologue.js
@@ -1673,6 +1673,15 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap(
build-generated object.
*/
version: Object.create(null),
+
+ /**
+ The library reserves the 'client' property for client-side use
+ and promises to never define a property with this name nor to
+ ever rely on specific contents of it. It makes no such guarantees
+ for other properties.
+ */
+ client: undefined,
+
/**
Performs any optional asynchronous library-level initialization
which might be required. This function returns a Promise which