libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
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
8namespace 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.
12struct 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
Connection to a database.
Definition connection.hxx:279
Base class for call gates.
Definition callgate.hxx:55
Definition connection-stream_from.hxx:13