Database class abstract
A connection to one SQLite database, returned by an OpenDatabase function. This is the only part of the SQLite layer that is public: you implement it over the SQLite binding of your choice; Firestore runs its own SQL through it.
Statements use ? positional placeholders; arguments may contain null,
int, double, String and Uint8List values.
Constructors
- Database()
- Constructor for subclasses.
Properties
Methods
-
close(
) → void - Closes the connection. Firestore calls it when the instance terminates.
-
delete(
String statement, [List< Object?> ? arguments]) → Future<int> - DELETE query Returns the number of changes made
-
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