diff options
author | stephan <stephan@noemail.net> | 2022-09-19 13:16:35 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-09-19 13:16:35 +0000 |
commit | b5ae85eca27f43949ae81a8489c3168ebcf7164c (patch) | |
tree | 995a665d3e3d5fb083349835d93a4217c366efd2 /ext/wasm/api | |
parent | 5ef7f047754e6ae8b812c6cbe50b6cfe764d13ca (diff) | |
download | sqlite-b5ae85eca27f43949ae81a8489c3168ebcf7164c.tar.gz sqlite-b5ae85eca27f43949ae81a8489c3168ebcf7164c.zip |
Merge kv-vfs branch into fiddle-opfs. Adjust various JS APIs and apps to deal with the new method of handling kvvfs. Adjust speedtest1 JS build to include sqlite3-api.js so that it can use kvvfs and opfs VFSes. Permit passing of the vfs as a URL parameter to certain demo/test apps. Milestone: speedtest-worker.html?vfs=opfs runs with the standalone OPFS impl.
FossilOrigin-Name: ec09f32f7ae2249aaf27388ad2062982afa8bbbb5f88d236d6d9068bf33ad93d
Diffstat (limited to 'ext/wasm/api')
-rw-r--r-- | ext/wasm/api/sqlite3-api-prologue.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-api-prologue.js b/ext/wasm/api/sqlite3-api-prologue.js index add8ad658..bd9779b7e 100644 --- a/ext/wasm/api/sqlite3-api-prologue.js +++ b/ext/wasm/api/sqlite3-api-prologue.js @@ -749,6 +749,8 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap( }; /** + Experimental and subject to change or removal. + Returns true if sqlite3.capi.sqlite3_web_persistent_dir() is a non-empty string and the given name starts with (that string + '/'), else returns false. |