A wrapper for a connection that automatically returns it to the pool.
More...
#include <relx/connection/postgresql_connection_pool.hpp>
A wrapper for a connection that automatically returns it to the pool.
Definition at line 144 of file postgresql_connection_pool.hpp.
◆ PooledConnection() [1/3]
Constructor takes a connection and its parent pool.
- Parameters
-
| connection | The database connection |
| pool | The connection pool that owns this connection |
Definition at line 153 of file postgresql_connection_pool.hpp.
◆ ~PooledConnection()
| relx::connection::PostgreSQLConnectionPool::PooledConnection::~PooledConnection |
( |
| ) |
|
|
inline |
◆ PooledConnection() [2/3]
| relx::connection::PostgreSQLConnectionPool::PooledConnection::PooledConnection |
( |
const PooledConnection & |
| ) |
|
|
delete |
◆ PooledConnection() [3/3]
| relx::connection::PostgreSQLConnectionPool::PooledConnection::PooledConnection |
( |
PooledConnection && |
| ) |
|
|
default |
◆ operator bool()
| relx::connection::PostgreSQLConnectionPool::PooledConnection::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator->() [1/2]
◆ operator->() [2/2]
| const PostgreSQLConnection * relx::connection::PostgreSQLConnectionPool::PooledConnection::operator-> |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: