diff options
author | stephan <stephan@noemail.net> | 2022-12-26 15:08:48 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-12-26 15:08:48 +0000 |
commit | 64fa85bb5e5e7870ed1f268c5b915f61e5ea1b28 (patch) | |
tree | 466fdeb726eca2f8b33f5a03a92a6630e367ef25 /ext/wasm/api/sqlite3-api-prologue.js | |
parent | d9cfd0f339e4ca30981eb7dc44724480710cc48e (diff) | |
download | sqlite-64fa85bb5e5e7870ed1f268c5b915f61e5ea1b28.tar.gz sqlite-64fa85bb5e5e7870ed1f268c5b915f61e5ea1b28.zip |
Document sqlite3.capi.sqlite3_prepare_v3() as accepting an ArrayBuffer and ensure that it can.
FossilOrigin-Name: ae3ae92ec45d3d5de92e70876502f8108fc3fcd87848e86c2b83f8842f1ff139
Diffstat (limited to 'ext/wasm/api/sqlite3-api-prologue.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-prologue.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/wasm/api/sqlite3-api-prologue.js b/ext/wasm/api/sqlite3-api-prologue.js index acf66b6e2..cae268996 100644 --- a/ext/wasm/api/sqlite3-api-prologue.js +++ b/ext/wasm/api/sqlite3-api-prologue.js @@ -662,8 +662,8 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap( terminated with a 0 byte. In usage (1), the 2nd argument must be of type string, - Uint8Array, or Int8Array (either of which is assumed to - hold SQL). If it is, this function assumes case (1) and + Uint8Array, Int8Array, or ArrayBuffer (all of which are assumed + to hold SQL). If it is, this function assumes case (1) and calls the underyling C function with the equivalent of: (pDb, sqlAsString, -1, prepFlags, ppStmt, null) |