commitTransaction method

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

Commits the active transaction on the PostgreSQL database. In the package:postgres, committing a transaction is handled within the transaction itself. The .transaction() method on the connection automatically commits if no exceptions occur.

Implementation

@override

/// Commits the active transaction on the PostgreSQL database.
/// In the `package:postgres`, committing a transaction is handled within the
/// transaction itself.
/// The .transaction() method on the connection automatically commits if no
/// exceptions occur.
Future<void> commitTransaction() async {}