Loading...
Searching...
No Matches
result-creation.hxx
#include <pqxx/internal/callgate.hxx>
namespace pqxx::internal::gate
{
class PQXX_PRIVATE result_creation : callgate<result const>
{
friend class pqxx::connection;
friend class pqxx::pipeline;
result_creation(reference x) : super(x) {}
static result create(
std::shared_ptr<internal::pq::PGresult> rhs,
std::shared_ptr<std::string> const &query,
std::shared_ptr<pqxx::internal::notice_waiters> &notice_waiters,
encoding_group enc)
{
return result(rhs, query, notice_waiters, enc);
}
void check_status(std::string_view desc = ""sv) const
{
return home().check_status(desc);
}
};
} // namespace pqxx::internal::gate
pqxx::internal::callgate::home
reference home() const noexcept
The home object. The gate class has full "private" access.
Definition callgate.hxx:65
pqxx::internal::callgate::reference
HOME & reference
A reference to the host class. Helps keep constructors easy.
Definition callgate.hxx:60
pqxx::internal::callgate::super
callgate< HOME > super
This class, to keep constructors easy.
Definition callgate.hxx:58
pqxx::result
Result set containing data returned by a query or command.
Definition result.hxx:92
pqxx::internal::notice_waiters
Various callbacks waiting for a notice to come in.
Definition result.hxx:55