wasm library
Web support for drift.
For more information about the components of this library and how to use them, see https://drift.simonbinder.eu/web/. Be aware that additional setup is necessary to use drift on the web, this is explained in the documentation.
Classes
- WasmDatabase
- An experimental, WebAssembly based implementation of a drift sqlite3 database.
- WasmDatabaseResult
- The result of opening a WASM database with default options.
- WasmProbeResult
- The result of probing the current browser for wasm compatibility.
Enums
- MissingBrowserFeature
- An enumeration of features not supported by the current browsers.
- WasmStorageImplementation
-
The storage implementation used by the
drift
andsqlite3
packages to emulate a synchronous file system on the web, used by the sqlite3 C library to store databases. - WebStorageApi
- The storage API used by drift to store a database.
Typedefs
- ExistingDatabase = (WebStorageApi, String)
- Information about an existing web database, consisting of its storage API (WebStorageApi) and its name.
- WasmDatabaseSetup = void Function(CommonDatabase database)
-
Signature of a function that can perform setup work on a
database
before drift is fully ready.