Loading...
Searching...
No Matches
result-connection.hxx
#include <pqxx/internal/callgate.hxx>
namespace pqxx::internal::gate
{
class PQXX_PRIVATE result_connection : callgate<result const>
{
friend class pqxx::connection;
result_connection(reference x) : super(x) {}
operator bool() const { return bool(home()); }
bool operator!() const { return not home(); }
};
} // namespace pqxx::internal::gate
pqxx::connection
Connection to a database.
Definition connection.hxx:279
pqxx::internal::callgate
Base class for call gates.
Definition callgate.hxx:55
pqxx::internal::callgate::reference
HOME & reference
A reference to the host class. Helps keep constructors easy.
Definition callgate.hxx:60
pqxx::internal::gate::result_connection
Definition result-connection.hxx:6