mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-02 01:08:19 +00:00
25 lines
555 B
C++
25 lines
555 B
C++
|
#include <pqxx/internal/callgate.hxx>
|
||
|
|
||
|
namespace pqxx::internal::gate
|
||
|
{
|
||
|
class PQXX_PRIVATE result_creation : callgate<result const>
|
||
|
{
|
||
|
friend class pqxx::connection;
|
||
|
friend class pqxx::pipeline;
|
||
|
|
||
|
result_creation(reference x) : super(x) {}
|
||
|
|
||
|
static result create(
|
||
|
internal::pq::PGresult *rhs, std::shared_ptr<std::string> const &query,
|
||
|
encoding_group enc)
|
||
|
{
|
||
|
return result(rhs, query, enc);
|
||
|
}
|
||
|
|
||
|
void check_status(std::string_view desc = ""sv) const
|
||
|
{
|
||
|
return home().check_status(desc);
|
||
|
}
|
||
|
};
|
||
|
} // namespace pqxx::internal::gate
|