mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-03-12 04:36:29 -07:00
20 lines
387 B
C++
20 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
|