openDatabase abstract method
Future<WorkerDatabase>
openDatabase(
- WasmSqlite3 sqlite3,
- String path,
- String vfs,
- JSAny? additionalData,
Opens a database in the pre-configured sqlite3
instance under the
specified path
in the given vfs
.
This should virtually always call sqlite3.open(path, vfs: vfs)
and wrap
the result in a WorkerDatabase subclass.
The additionalData
can be set by clients when opening the database. It
might be useful to transport additional options relevant when opening the
database.
Implementation
Future<WorkerDatabase> openDatabase(
WasmSqlite3 sqlite3, String path, String vfs, JSAny? additionalData);