libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
connection-pipeline.hxx
1#include "pqxx/internal/libpq-forward.hxx"
2#include <pqxx/internal/callgate.hxx>
3
4#include "pqxx/pipeline.hxx"
5
6namespace pqxx::internal::gate
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
constexpr char array_separator
Element separator between SQL array elements of this type.
Definition strconv.hxx:559