blob: 3256090a2fe1aa9688b9c7b625ead62a186efe37 (
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_tablewriter : callgate<transaction_base>
{
friend class pqxx::tablewriter;
transaction_tablewriter(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
|