QueryDelegate class abstract
An interface which can execute sql statements.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runBatched(
BatchedStatements statements) → Future< void> -
Runs multiple
statementswithout having to prepare the same statement multiple times. -
runCustom(
String statement, List< Object?> args) → Future<void> -
Runs a custom
statementwith the givenargs. Ignores all results, but throws when the statement can't be executed. -
runInsert(
String statement, List< Object?> args) → Future<int> -
Prepares and executes the
statementwith the variables bound toargs. The statement will be anINSERTstatement. -
runSelect(
String statement, List< Object?> args) → Future<QueryResult> -
Prepares and executes the
statement, binding the variables toargs. Its safe to assume that thestatementis a select statement, the QueryResult that it returns should be returned from here. -
runUpdate(
String statement, List< Object?> args) → Future<int> -
Prepares and executes the
statementwith the variables bound toargs. The statement will either be anUPDATEorDELETEstatement. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited