WasmSqlite3 class
A WebAssembly version of the CommmonSqlite3 interface.
This implementation supports the same API as the native version based on
dart:ffi
, but runs in the web.
Properties
- bindings → RawSqliteBindings
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tempDirectory ↔ String?
-
Accesses the
sqlite3_temp_directory
variable.getter/setter pairinherited - version → Version
-
The version of the sqlite3 library in used.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
String filename, {String? vfs, OpenMode mode = OpenMode.readWriteCreate, bool uri = false, bool? mutex}) → CommonDatabase -
Opens a database file.
inherited
-
openInMemory(
) → CommonDatabase -
Opens an in-memory database.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
wrapDatabase(
RawSqliteDatabase rawDb) → CommonDatabase -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
load(
Uint8List source, [SqliteEnvironment? environment]) → Future< WasmSqlite3> - Loads a web version of the sqlite3 libraries.
-
loadFromUrl(
Uri uri, {Map< String, String> ? headers, SqliteEnvironment? environment}) → Future<WasmSqlite3> - Loads a web version of the sqlite3 libraries.