13#ifndef PQXX_H_SUBTRANSACTION
14#define PQXX_H_SUBTRANSACTION
16#if !defined(PQXX_HEADER_PRE)
17# error "Include libpqxx headers as <pqxx/header>, not <pqxx/header.hxx>."
20#include "pqxx/dbtransaction.hxx"
81 explicit subtransaction(dbtransaction &t, std::string_view tname =
""sv);
84 explicit subtransaction(subtransaction &t, std::string_view name =
""sv);
86 virtual ~subtransaction() noexcept override;
89 std::
string quoted_name()
const
91 return quote_name(transaction_focus::name());
93 virtual void do_commit()
override;
Base class for things that monopolise a transaction's attention.
Definition transaction_focus.hxx:29
The home of all libpqxx classes, functions, templates, etc.
Definition array.cxx:27