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
statements
without having to prepare the same statement multiple times. -
runCustom(
String statement, List< Object?> args) → Future<void> -
Runs a custom
statement
with 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
statement
with the variables bound toargs
. The statement will be anINSERT
statement. -
runSelect(
String statement, List< Object?> args) → Future<QueryResult> -
Prepares and executes the
statement
, binding the variables toargs
. Its safe to assume that thestatement
is 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
statement
with the variables bound toargs
. The statement will either be anUPDATE
orDELETE
statement. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited