libpqxx
The C++ client library for PostgreSQL
connection-stream_from.hxx
Go to the documentation of this file.
1 #if !defined(PQXX_H_CONNECTION_STREAM_FROM)
2 # define PQXX_H_CONNECTION_STREAM_FROM
3 
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.
13 {
15 
16  auto read_copy_line() { return home().read_copy_line(); }
17 };
18 } // namespace pqxx::internal::gate
19 #endif
Connection to a database.
Definition: connection.hxx:279
Base class for call gates.
Definition: callgate.hxx:55
#define PQXX_PRIVATE
Definition: header-pre.hxx:158
Definition: connection.hxx:107
Definition: connection-stream_from.hxx:13
auto read_copy_line()
Definition: connection-stream_from.hxx:16
connection_stream_from(reference x)
Definition: connection-stream_from.hxx:14