AsyncSqliteController class base
A base class for a web worker SQLite controller. This returns an instance of AsyncSqliteDatabase which can be extended to perform custom requests.
- Inheritance
-
- Object
- DatabaseController
- AsyncSqliteController
Constructors
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.
override
-
loadWasmModule(
Uri uri, {Map< String, String> ? headers}) → Future<WasmSqlite3> -
Loads a wasm module from the given
uri
with the specifiedheaders
.inherited -
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 specifiedpath
in the givenvfs
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited