PostgreSQLTransaction class

PostgreSQL transaction implementation

Implemented types

Constructors

PostgreSQLTransaction(Connection _connection)

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>
Commit the transaction
override
execute(String sql, {Map<String, dynamic>? parameters}) Future<int>
Execute a non-query within transaction
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String sql, {Map<String, dynamic>? parameters}) Future<List<Map<String, dynamic>>>
Execute a query within transaction
override
rollback() Future<void>
Rollback the transaction
override
toString() String
A string representation of this object.
inherited

Operators

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