libpqxx
The C++ client library for PostgreSQL
result-sql_cursor.hxx
Go to the documentation of this file.
2 
3 namespace pqxx::internal::gate
4 {
5 class PQXX_PRIVATE result_sql_cursor final : callgate<result const>
6 {
8 
9  constexpr result_sql_cursor(reference x) noexcept : super(x) {}
10 
11  [[nodiscard]] char const *cmd_status() const noexcept
12  {
13  return home().cmd_status();
14  }
15 };
16 } // namespace pqxx::internal::gate
Base class for call gates.
Definition: callgate.hxx:55
result const & reference
A reference to the host class. Helps keep constructors easy.
Definition: callgate.hxx:60
Definition: result-sql_cursor.hxx:6
Cursor with SQL positioning semantics.
Definition: sql_cursor.hxx:32
#define PQXX_PRIVATE
Definition: header-pre.hxx:207
Definition: connection.hxx:94