|
libpqxx 4.0
|
Lazy connection policy; causes connection to be deferred until first use. More...
#include <connection.hxx>

Public Member Functions | |
| connect_lazy (const std::string &opts) | |
| virtual handle | do_completeconnect (handle) |
Lazy connection policy; causes connection to be deferred until first use.
This is connect_direct's lazy younger brother. It does not attempt to open a connection right away; the connection is only created when it is actually used.
| pqxx::connect_lazy::connect_lazy | ( | const std::string & | opts | ) | [explicit] |
| pqxx::connectionpolicy::handle pqxx::connect_lazy::do_completeconnect | ( | handle | orig | ) | [virtual] |
Reimplemented from pqxx::connectionpolicy.