#include namespace pqxx::internal::gate { class PQXX_PRIVATE result_pipeline : callgate { friend class pqxx::pipeline; result_pipeline(reference x) : super(x) {} std::shared_ptr query_ptr() const { return home().query_ptr(); } }; } // namespace pqxx::internal::gate