PooledConnection class
Connection wrapper for automatic return to pool.
Constructors, destructors, conversion operators
- PooledConnection() defaulted
- PooledConnection(ConnectionPtr conn, std::function<void(ConnectionPtr)> returner)
- ~PooledConnection()
- PooledConnection(PooledConnection&& other) noexcept
- PooledConnection(const PooledConnection&) deleted
- operator bool() const explicit
Public functions
- auto operator=(PooledConnection&& other) -> PooledConnection& noexcept
- auto operator=(const PooledConnection&) -> PooledConnection& deleted
- auto operator->() const -> DatabaseConnection*
- auto operator*() const -> DatabaseConnection&
- auto get() const -> DatabaseConnection*