libpqxx
The C++ client library for PostgreSQL
transactor.hxx File Reference
#include <functional>
#include <type_traits>
#include "pqxx/connection.hxx"
#include "pqxx/transaction.hxx"
+ Include dependency graph for transactor.hxx:

Go to the source code of this file.

Namespaces

 pqxx
 The home of all libpqxx classes, functions, templates, etc.
 

Functions

template<typename TRANSACTION_CALLBACK >
std::invoke_result_t< TRANSACTION_CALLBACK > pqxx::perform (TRANSACTION_CALLBACK &&callback, int attempts, sl loc=sl::current())
 Simple way to execute a transaction with automatic retry. More...
 
template<typename TRANSACTION_CALLBACK >
std::invoke_result_t< TRANSACTION_CALLBACK > pqxx::perform (TRANSACTION_CALLBACK &&callback, sl loc=sl::current())
 Simple way to execute a transaction with automatic retry. More...