13 #ifndef PQXX_H_NONTRANSACTION
14 #define PQXX_H_NONTRANSACTION
16 #if !defined(PQXX_HEADER_PRE)
17 # error "Include libpqxx headers as <pqxx/header>, not <pqxx/header.hxx>."
20 #include "pqxx/connection.hxx"
21 #include "pqxx/result.hxx"
22 #include "pqxx/transaction.hxx"
67 register_transaction();
73 virtual void do_commit()
override {}
Interface definition (and common code) for "transaction" classes.
Definition: transaction_base.hxx:87
Connection to a database.
Definition: connection.hxx:252
nontransaction(connection &c, std::string_view tname=""sv)
Constructor.
Definition: nontransaction.hxx:64
The home of all libpqxx classes, functions, templates, etc.
Definition: array.hxx:32
virtual ~nontransaction() override
Definition: nontransaction.hxx:70
Simple "transaction" class offering no transactional integrity.
Definition: nontransaction.hxx:55