mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
19 lines
387 B
C++
19 lines
387 B
C++
#include <pqxx/internal/callgate.hxx>
|
|
|
|
namespace pqxx::internal
|
|
{
|
|
class sql_cursor;
|
|
}
|
|
|
|
|
|
namespace pqxx::internal::gate
|
|
{
|
|
class PQXX_PRIVATE connection_sql_cursor : callgate<connection>
|
|
{
|
|
friend class pqxx::internal::sql_cursor;
|
|
|
|
connection_sql_cursor(reference x) : super(x) {}
|
|
|
|
result exec(char const query[]) { return home().exec(query); }
|
|
};
|
|
} // namespace pqxx::internal::gate
|