1#include <pqxx/internal/callgate.hxx>
8namespace pqxx::internal::gate
16 template<
typename STRING>
result exec(STRING query, std::string_view desc)
18 return home().exec(query, desc);
23 home().register_transaction(t);
27 home().unregister_transaction(t);
30 auto read_copy_line() {
return home().read_copy_line(); }
31 void write_copy_line(std::string_view line) { home().write_copy_line(line); }
32 void end_copy_write() { home().end_copy_write(); }
36 return home().exec_prepared(statement, args);
41 return home().exec_params(query, args);
Connection to a database.
Definition connection.hxx:230
Base class for call gates.
Definition callgate.hxx:55
Definition connection-transaction.hxx:11
Result set containing data returned by a query or command.
Definition result.hxx:73
Marker-type wrapper: zero-terminated std::string_view.
Definition zview.hxx:38
Interface definition (and common code) for "transaction" classes.
Definition transaction_base.hxx:150
The home of all libpqxx classes, functions, templates, etc.
Definition array.cxx:27
Internal type: encode statement parameters.
Definition statement_parameters.hxx:113