libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
result-creation.hxx
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, encoding_group enc)
15
{
16
return
result
(rhs, query, enc);
17
}
18
19
void
check_status(std::string_view desc =
""
sv)
const
20
{
21
return
home().check_status(desc);
22
}
23
};
24
}
// namespace pqxx::internal::gate
pqxx::internal::callgate
Base class for call gates.
Definition
callgate.hxx:55
pqxx::internal::callgate::reference
HOME & reference
A reference to the host class. Helps keep constructors easy.
Definition
callgate.hxx:60
pqxx::internal::gate::result_creation
Definition
result-creation.hxx:6
pqxx::result
Result set containing data returned by a query or command.
Definition
result.hxx:73
include
pqxx
internal
gates
result-creation.hxx
Generated by
1.11.0