drift library

Re-exports Drift to expose drift without adding it as a direct dependency.

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 and sqlite3 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.

Functions

setupCommonWorkerDB(CommonDatabase database) → void

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.