DatabaseController class abstract base

A controller responsible for opening databases in the worker.

Implementers

Constructors

DatabaseController()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handleCustomRequest(ClientConnection connection, JSAny? request) Future<JSAny?>
Handles custom requests from clients that are not bound to a database.
loadWasmModule(Uri uri, {Map<String, String>? headers}) Future<WasmSqlite3>
Loads a wasm module from the given uri with the specified headers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDatabase(WasmSqlite3 sqlite3, String path, String vfs) Future<WorkerDatabase>
Opens a database in the pre-configured sqlite3 instance under the specified path in the given vfs.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited