Transaction class

Implemented types

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

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

Operators

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

Static Methods

begin(MySqlConnection conn) Future<Transaction>