diff options
author | stephan <stephan@noemail.net> | 2022-10-03 22:38:00 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-10-03 22:38:00 +0000 |
commit | 8d9e5955136a790d94fcc10c25fc677905402500 (patch) | |
tree | a55de1eeb5fa190d20d7011959786e9ea5863f56 /ext/wasm/api/sqlite3-api-glue.js | |
parent | d234902b7c2ff88435f84f741b74e959c764daaf (diff) | |
download | sqlite-8d9e5955136a790d94fcc10c25fc677905402500.tar.gz sqlite-8d9e5955136a790d94fcc10c25fc677905402500.zip |
Minor JS doc updates and typo fixes.
FossilOrigin-Name: 3cfcc14dfd220536141aeffb902fdc8db1cea055b2a0609b88e092fc3df94688
Diffstat (limited to 'ext/wasm/api/sqlite3-api-glue.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-glue.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/wasm/api/sqlite3-api-glue.js b/ext/wasm/api/sqlite3-api-glue.js index a4c9627bd..27d75682a 100644 --- a/ext/wasm/api/sqlite3-api-glue.js +++ b/ext/wasm/api/sqlite3-api-glue.js @@ -457,7 +457,7 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ - `null`: sqlite3_result_null() - `boolean`: sqlite3_result_int() - - `number': sqlite3_result_int() or sqlite3_result_double() + - `number`: sqlite3_result_int() or sqlite3_result_double() - `string`: sqlite3_result_text() - Uint8Array or Int8Array: sqlite3_result_blob() @@ -474,7 +474,7 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ them (xFunc, xStep, xInverse), it creates a JS array representing those arguments, converting each to JS in a manner appropriate to its data type: numeric, text, blob - (Uint8Array()), or null. + (Uint8Array), or null. Results are undefined if it's passed anything other than those two arguments from those specific contexts. |