BaseExecutor class abstract
Abstract base class for query execution.
This interface is implemented by both QueryExecutor (for normal operations) and TransactionExecutor (for transaction operations), allowing delegates to work with either one.
- Implementers
Constructors
Properties
- adapter → SqlDriverAdapter
-
The database adapter.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
executeCount(
JsonQuery query) → Future< int> - Execute a count query.
-
executeMutation(
JsonQuery query) → Future< int> - Execute a mutation (CREATE, UPDATE, DELETE) and return affected rows.
-
executeQueryAsMaps(
JsonQuery query) → Future< List< Map< >String, dynamic> > - Execute a query and deserialize results to maps.
-
executeQueryAsSingleMap(
JsonQuery query) → Future< Map< String, dynamic> ?> - Execute a query expecting a single result.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited