libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
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
9{
10// Not publicising this call gate to specific classes. We also use it in
11// stream_query, which is a template.
12struct PQXX_PRIVATE connection_stream_from : callgate<connection>
13{
14 connection_stream_from(reference x) : super{x} {}
15
16 auto read_copy_line() { return home().read_copy_line(); }
17};
18} // namespace pqxx::internal::gate
19#endif
#define PQXX_PRIVATE
Definition header-pre.hxx:158
Definition connection.hxx:108