#include <scopedconnection.h>
Collaboration diagram for mysqlpp::ScopedConnection:

Public Member Functions | |
| ScopedConnection (ConnectionPool &pool, bool safe=false) | |
| Standard constructor. | |
| ~ScopedConnection () | |
| Destructor. | |
| Connection * | operator-> () const |
| Access the Connection pointer. | |
| Connection & | operator * () const |
| Dereference. | |
| operator void * () const | |
| Truthiness operator. | |
| mysqlpp::ScopedConnection::ScopedConnection | ( | ConnectionPool & | pool, | |
| bool | safe = false | |||
| ) | [explicit] |
Standard constructor.
Grabs a Connection from the specified pool.
| mysqlpp::ScopedConnection::~ScopedConnection | ( | ) |
Destructor.
Releases the Connection back to the ConnectionPool.
1.4.7