cancelTransaction method

  1. @override
void cancelTransaction({
  1. String? reason,
})
override

Cancels a transaction on this context.

If this context is an instance of PostgreSQLConnection, this method has no effect. If the context is a transaction context (passed as the argument to PostgreSQLConnection.transaction), this will rollback the transaction.

Implementation

@override
void cancelTransaction({String? reason}) {
  // Default is no-op
}