SQLiteExecutor class abstract
Pure-Dart interface for executing SQLite statements on a database or transaction.
- Implementers
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
-
execute(
String sql, [List< Object?> ? arguments]) → Future<void> - Execute a SQL statement that returns no rows (e.g. DDL).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rawDelete(
String sql, [List< Object?> ? arguments]) → Future<int> -
Execute a raw
DELETEstatement and return the number of affected rows. -
rawInsert(
String sql, [List< Object?> ? arguments]) → Future<int> -
Execute a raw
INSERTstatement and return the last inserted row ID or affected row count. -
rawQuery(
String sql, [List< Object?> ? arguments]) → Future<List< Map< >String, Object?> > -
Execute a raw
SELECTquery and return rows as column-to-value maps. -
rawUpdate(
String sql, [List< Object?> ? arguments]) → Future<int> -
Execute a raw
UPDATEstatement and return the number of affected rows. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited