libpqxx
The C++ client library for PostgreSQL
Toggle main menu visibility
Loading...
Searching...
No Matches
connection-pipeline.hxx
Go to the documentation of this file.
1
#include "
pqxx/internal/libpq-forward.hxx
"
2
#include <
pqxx/internal/callgate.hxx
>
3
4
#include "
pqxx/pipeline.hxx
"
5
6
namespace
pqxx::internal::gate
7
{
8
class
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
callgate.hxx
PQXX_PRIVATE
#define PQXX_PRIVATE
Definition
header-pre.hxx:158
libpq-forward.hxx
pqxx::internal::gate
Definition
connection.hxx:108
pqxx::internal::pq::PGresult
pg_result PGresult
Definition
libpq-forward.hxx:25
pipeline.hxx
include
pqxx
internal
gates
connection-pipeline.hxx
Generated by
1.17.0