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
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
Connection to a database.
Definition connection.hxx:230
Base class for call gates.
Definition callgate.hxx:55
Definition connection-stream_to.hxx:9
Efficiently write data directly to a database table.
Definition stream_to.hxx:81