blob: 6ee9e9b7d6b87ea566f500e26003bcd6ad2b1812 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include <pqxx/internal/callgate.hxx>
namespace pqxx
{
namespace internal
{
namespace gate
{
class PQXX_PRIVATE transaction_stream_to : callgate<transaction_base>
{
friend class pqxx::stream_to;
transaction_stream_to(reference x) : super(x) {}
void BeginCopyWrite(
const std::string &table,
const std::string &columns = std::string{})
{ home().BeginCopyWrite(table, columns); }
void write_copy_line(const std::string &line)
{ home().write_copy_line(line); }
void end_copy_write() { home().end_copy_write(); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx
|