aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libpqxx/include/pqxx/internal/gates/transaction-tablereader.hxx
blob: 6946d36391ad8ed07a3e09eb9ecfdc7bea915064 (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_tablereader : callgate<transaction_base>
{
  friend class pqxx::tablereader;

  transaction_tablereader(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