libpqxx
The C++ client library for PostgreSQL
connection-stream_from.hxx
1 #if !defined(PQXX_H_CONNECTION_STREAM_FROM)
2 # define PQXX_H_CONNECTION_STREAM_FROM
3 
4 # include <pqxx/internal/callgate.hxx>
5 
6 # include "pqxx/connection.hxx"
7 
8 namespace pqxx::internal::gate
9 {
10 // Not publicising this call gate to specific classes. We also use it in
11 // stream_query, which is a template.
12 struct PQXX_PRIVATE connection_stream_from : callgate<connection>
13 {
15 
16  auto read_copy_line() { return home().read_copy_line(); }
17 };
18 } // namespace pqxx::internal::gate
19 #endif
Definition: connection-stream_from.hxx:12
Definition: connection.hxx:106
Base class for call gates.
Definition: callgate.hxx:54
Connection to a database.
Definition: connection.hxx:278