uvco 0.1
|
#include <pqxx.h>
Public Member Functions | |
Pqxx (const Loop &loop, std::string connectionString) | |
template<typename R , typename F > requires WithTxFn<R, F> | |
Promise< R > | withTx (F f) |
void | close () |
Private Attributes | |
const Loop & | loop_ |
ThreadLocalKey< std::optional< pqxx::connection > > | conn_ |
std::string | connectionString_ |
A thread-pool based implementation of PostgreSQL interactions using the libpqxx library.
|
inlineexplicit |
|
inline |
If you know that you're done with this thread's connection, you can close it. If needed, a new connection is established again later.
|
private |
|
private |
|
private |