WasmSqlite3 class final

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.

Implemented types

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({String? vfs}) CommonDatabase
Opens an in-memory database.
inherited
registerVirtualFileSystem(VirtualFileSystem vfs, {bool makeDefault = false}) → void
Registers a custom virtual file system used by this sqlite3 instance to emulate I/O functionality that is not supported through WASM directly.
inherited
toString() String
A string representation of this object.
inherited
unregisterVirtualFileSystem(VirtualFileSystem vfs) → void
Unregisters a virtual file system implementation that has been registered with registerVirtualFileSystem.
inherited
wrapDatabase(RawSqliteDatabase rawDb) CommonDatabase
inherited

Operators

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

Static Methods

load(Uint8List source) Future<WasmSqlite3>
Loads a web version of the sqlite3 libraries.
loadFromUrl(Uri uri, {Map<String, String>? headers}) Future<WasmSqlite3>
Loads a web version of the sqlite3 libraries.