aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-opfs.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-10-28 10:36:18 +0000
committerstephan <stephan@noemail.net>2022-10-28 10:36:18 +0000
commite681b651eb5cc1da2724ce73b84792b10039152b (patch)
tree55fb9945d38c23b55e1d061969eba91e70763ea6 /ext/wasm/api/sqlite3-api-opfs.js
parentc97bb14fab566f6fa8d967c8fd1e90f3702d5b73 (diff)
downloadsqlite-e681b651eb5cc1da2724ce73b84792b10039152b.tar.gz
sqlite-e681b651eb5cc1da2724ce73b84792b10039152b.zip
Minor sqlite3.oo1 API reorg prompted by documenting.
FossilOrigin-Name: 55237924ca363c5a3e0f8c82620eb6626a98311615866197375a86876b9da3a1
Diffstat (limited to 'ext/wasm/api/sqlite3-api-opfs.js')
-rw-r--r--ext/wasm/api/sqlite3-api-opfs.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/wasm/api/sqlite3-api-opfs.js b/ext/wasm/api/sqlite3-api-opfs.js
index 3f27941e8..41efe0ab6 100644
--- a/ext/wasm/api/sqlite3-api-opfs.js
+++ b/ext/wasm/api/sqlite3-api-opfs.js
@@ -948,12 +948,12 @@ const installOpfsVfs = function callee(options){
if(sqlite3.oo1){
opfsUtil.OpfsDb = function(...args){
- const opt = sqlite3.oo1.dbCtorHelper.normalizeArgs(...args);
+ const opt = sqlite3.oo1.DB.dbCtorHelper.normalizeArgs(...args);
opt.vfs = opfsVfs.$zName;
- sqlite3.oo1.dbCtorHelper.call(this, opt);
+ sqlite3.oo1.DB.dbCtorHelper.call(this, opt);
};
opfsUtil.OpfsDb.prototype = Object.create(sqlite3.oo1.DB.prototype);
- sqlite3.oo1.dbCtorHelper.setVfsPostOpenSql(
+ sqlite3.oo1.DB.dbCtorHelper.setVfsPostOpenSql(
opfsVfs.pointer,
[
/* Truncate journal mode is faster than delete or wal for