13#ifndef PQXX_H_DBTRANSACTION
14#define PQXX_H_DBTRANSACTION
16#if !defined(PQXX_HEADER_PRE)
17# error "Include libpqxx headers as <pqxx/header>, not <pqxx/header.hxx>."
20#include "pqxx/transaction_base.hxx"
53class PQXX_LIBEXPORT PQXX_NOVTABLE
dbtransaction :
public transaction_base
57 explicit dbtransaction(connection &c) : transaction_base{c} {}
59 dbtransaction(connection &c, std::string_view tname) :
60 transaction_base{c, tname}
64 connection &c, std::string_view tname,
65 std::shared_ptr<std::string> rollback_cmd) :
66 transaction_base{c, tname, rollback_cmd}
The home of all libpqxx classes, functions, templates, etc.
Definition array.cxx:27
constexpr char array_separator
Element separator between SQL array elements of this type.
Definition strconv.hxx:558