Querier class abstract

Querier defines the interface to execute normal and prepared SQL statements.

Both MySqlConnection and Transaction implement Querier interface. This enables to logic that works without guessing it would be a connection or a transaction.

Implementers

Constructors

Querier()

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) StreamedFuture
Executes the given sql statement and returns the result.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepare(String sql) Future<Prepared>
prepared(String sql, Iterable values) Future<StreamedResults>
preparedWithAll(String sql, Iterable<Iterable> values) Stream<StreamedResults>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited