libpqxx
The C++ client library for PostgreSQL
connection-sql_cursor.hxx
1 #include <pqxx/internal/callgate.hxx>
2 
3 namespace pqxx::internal
4 {
5 class sql_cursor;
6 }
7 
8 
9 namespace pqxx::internal::gate
10 {
11 class PQXX_PRIVATE connection_sql_cursor : callgate<connection>
12 {
13  friend class pqxx::internal::sql_cursor;
14 
16 
17  result exec(char const query[]) { return home().exec(query); }
18 };
19 } // namespace pqxx::internal::gate
Internal items for libpqxx' own use. Do not use these yourself.
Definition: encodings.cxx:32
Result set containing data returned by a query or command.
Definition: result.hxx:91
Definition: connection.hxx:106
Base class for call gates.
Definition: callgate.hxx:54
Definition: connection-sql_cursor.hxx:11
Cursor with SQL positioning semantics.
Definition: sql_cursor.hxx:31
Connection to a database.
Definition: connection.hxx:278