SqliteWebDatabase class

One open SQLite database in IndexedDB. FirebaseFirestore runs its own SQL through it.

The Web Lock of the database is held from the open to the close, and lost with the page: no other client has the database open meanwhile (ExclusiveDatabase).

Properties

hashCode → int
The hash code for this object.
no setterinherited
path → String
The name of the IndexedDB database.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearStorage() → Future<void>
Deletes the IndexedDB database, for FirebaseFirestore.clearPersistence.
close() → void
Closes the connection. Firestore calls it when the instance terminates.
delete(String statement, [List<Object?>? arguments]) → Future<int>
Runs a DELETE and returns the number of rows it removed.
execute(String statement, [List<Object?>? arguments]) → Future<void>
Runs SQLite statement without return values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String statement, [List<Object?>? arguments]) → Future<List<Map<String, dynamic>>>
SELECT query
toString() → String
A string representation of this object.
inherited

Operators

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