rollbackTransaction method

  1. @override
Future<void> rollbackTransaction()
override

Rolls back the active transaction on the PostgreSQL database. In the package:postgres, rollback happens automatically if an exception occurs in the transaction. This method might be left empty unless you have custom rollback logic.

Implementation

@override

/// Rolls back the active transaction on the PostgreSQL database.
/// In the `package:postgres`, rollback happens automatically if an exception
/// occurs in the transaction.
/// This method might be left empty unless you have custom rollback logic.
Future<void> rollbackTransaction() async {}