aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libpqxx/include/pqxx/internal/gates/transaction-stream_from.hxx
blob: 6345543ddab32f5987715777a287e551eacdf64e (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
#include <pqxx/internal/callgate.hxx>

namespace pqxx
{
namespace internal
{
namespace gate
{
class PQXX_PRIVATE transaction_stream_from : callgate<transaction_base>
{
  friend class pqxx::stream_from;

  transaction_stream_from(reference x) : super(x) {}

  void BeginCopyRead(const std::string &table, const std::string &columns)
	{ home().BeginCopyRead(table, columns); }

  bool read_copy_line(std::string &line)
	{ return home().read_copy_line(line); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx