13 #ifndef PQXX_SUBTRANSACTION_HXX
14 #define PQXX_SUBTRANSACTION_HXX
16 #if !defined(PQXX_HEADER_PRE)
17 # error "Include libpqxx headers as <pqxx/header>, not <pqxx/header.hxx>."
106 [[nodiscard]] std::
string quoted_name()
const
110 void do_commit(
sl)
override;
Base class for things that monopolise a transaction's attention.
Definition: transaction_focus.hxx:29
std::string_view name() const &noexcept
Name for this object, if the caller passed one; empty string otherwise.
Definition: transaction_focus.hxx:61
subtransaction(dbtransaction &t, sl loc=sl::current())
Nest a subtransaction nested in another transaction.
Definition: subtransaction.hxx:89
subtransaction(subtransaction &&)=delete
subtransaction(subtransaction const &)=delete
Abstract transaction base class: bracket transactions on the database.
Definition: dbtransaction.hxx:54
"Transaction" nested within another transaction
Definition: subtransaction.hxx:82
The home of all libpqxx classes, functions, templates, etc.
Definition: array.cxx:26
std::source_location sl
Convenience alias for std::source_location. It's just too long.
Definition: types.hxx:38