libpqxx
The C++ client library for PostgreSQL
 
Loading...
Searching...
No Matches
connection-stream_to.hxx
1#include <pqxx/internal/callgate.hxx>
2
3#include "pqxx/stream_to.hxx"
4
5
6namespace pqxx::internal::gate
7{
8class PQXX_PRIVATE connection_stream_to : callgate<connection>
9{
10 friend class pqxx::stream_to;
11
12 connection_stream_to(reference x) : super(x) {}
13
14 void write_copy_line(std::string_view line) { home().write_copy_line(line); }
15 void end_copy_write() { home().end_copy_write(); }
16};
17} // namespace pqxx::internal::gate