libpqxx
The C++ client library for PostgreSQL
Toggle main menu visibility
Loading...
Searching...
No Matches
result-creation.hxx
Go to the documentation of this file.
1
#include <
pqxx/internal/callgate.hxx
>
2
3
namespace
pqxx::internal::gate
4
{
5
class
PQXX_PRIVATE
result_creation :
callgate
<result const>
6
{
7
friend
class
pqxx::connection;
8
friend
class
pqxx::pipeline;
9
10
result_creation(
reference
x) :
super
(x) {}
11
12
static
result
create(
13
std::shared_ptr<internal::pq::PGresult> rhs,
14
std::shared_ptr<std::string>
const
&query,
15
std::shared_ptr<pqxx::internal::notice_waiters> &
notice_waiters
,
16
encoding_group
enc)
17
{
18
return
result
(rhs, query,
notice_waiters
, enc);
19
}
20
21
void
check_status(std::string_view desc =
""
sv)
const
22
{
23
return
home().check_status(desc);
24
}
25
};
26
}
// namespace pqxx::internal::gate
callgate.hxx
pqxx::internal::callgate::reference
HOME & reference
A reference to the host class. Helps keep constructors easy.
Definition
callgate.hxx:60
pqxx::internal::callgate::callgate
callgate(reference x)
Definition
callgate.hxx:62
pqxx::internal::callgate::super
callgate< HOME > super
This class, to keep constructors easy.
Definition
callgate.hxx:58
pqxx::result
Result set containing data returned by a query or command.
Definition
result.hxx:93
PQXX_PRIVATE
#define PQXX_PRIVATE
Definition
header-pre.hxx:158
pqxx::internal::gate
Definition
connection.hxx:108
pqxx::internal::encoding_group
encoding_group
Definition
encoding_group.hxx:19
pqxx::internal::notice_waiters
Various callbacks waiting for a notice to come in.
Definition
result.hxx:56
include
pqxx
internal
gates
result-creation.hxx
Generated by
1.17.0