libpqxx
The C++ client library for PostgreSQL
 
Loading...
Searching...
No Matches
result-pipeline.hxx
1#include <pqxx/internal/callgate.hxx>
2
3namespace pqxx::internal::gate
4{
5class PQXX_PRIVATE result_pipeline : callgate<result const>
6{
7 friend class pqxx::pipeline;
8
9 result_pipeline(reference x) : super(x) {}
10
11 std::shared_ptr<std::string const> query_ptr() const
12 {
13 return home().query_ptr();
14 }
15};
16} // namespace pqxx::internal::gate
reference home() const noexcept
The home object. The gate class has full "private" access.
Definition callgate.hxx:65
HOME & reference
A reference to the host class. Helps keep constructors easy.
Definition callgate.hxx:60
callgate< HOME > super
This class, to keep constructors easy.
Definition callgate.hxx:58