libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
connection-pipeline.hxx
Go to the documentation of this file.
3
4#include "pqxx/pipeline.hxx"
5
7{
8class PQXX_PRIVATE connection_pipeline : callgate<connection>
9{
10 friend class pqxx::pipeline;
11
12 connection_pipeline(reference x) : super(x) {}
13
14 void start_exec(char const query[]) { home().start_exec(query); }
15 pqxx::internal::pq::PGresult *get_result() { return home().get_result(); }
16 void cancel_query() { home().cancel_query(); }
17
18 bool consume_input() noexcept { return home().consume_input(); }
19 bool is_busy() const noexcept { return home().is_busy(); }
20
21 int encoding_id() { return home().encoding_id(); }
22
23 auto get_notice_waiters() const { return home().m_notice_waiters; }
24};
25} // namespace pqxx::internal::gate
#define PQXX_PRIVATE
Definition header-pre.hxx:158
Definition connection.hxx:108
pg_result PGresult
Definition libpq-forward.hxx:25