diff options
author | stephan <stephan@noemail.net> | 2023-08-11 17:38:17 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-08-11 17:38:17 +0000 |
commit | b949244ea1c73f744b557524810c7945d3b0c5de (patch) | |
tree | 7ad6d4cb7155b2e3da6c6b317abedd0ebfd06321 /ext/wasm/api/sqlite3-api-glue.js | |
parent | 7e131529526d1f86689f1e9a3d07adac87bf21c3 (diff) | |
download | sqlite-b949244ea1c73f744b557524810c7945d3b0c5de.tar.gz sqlite-b949244ea1c73f744b557524810c7945d3b0c5de.zip |
Add sqlite3.capi.sqlite3_js_posix_create_file() and oo1.OpfsDb.importDb() as alternatives for the newly-deprecated sqlite3_js_vfs_create_file().
FossilOrigin-Name: da6eaf8d8258f3e2c8633fd7faf4e90c3307b5c60bd8b69c626b3c82b19dbdef
Diffstat (limited to 'ext/wasm/api/sqlite3-api-glue.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-glue.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-api-glue.js b/ext/wasm/api/sqlite3-api-glue.js index 572efeed5..60050461c 100644 --- a/ext/wasm/api/sqlite3-api-glue.js +++ b/ext/wasm/api/sqlite3-api-glue.js @@ -608,6 +608,7 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ ["sqlite3_wasm_db_vfs", "sqlite3_vfs*", "sqlite3*","string"], ["sqlite3_wasm_vfs_create_file", "int", "sqlite3_vfs*","string","*", "int"], + ["sqlite3_wasm_posix_create_file", "int", "string","*", "int"], ["sqlite3_wasm_vfs_unlink", "int", "sqlite3_vfs*","string"] ]; |