13 #ifndef PQXX_H_NONTRANSACTION
14 #define PQXX_H_NONTRANSACTION
16 #include "pqxx/compiler-public.hxx"
17 #include "pqxx/internal/compiler-internal-pre.hxx"
19 #include "pqxx/connection.hxx"
20 #include "pqxx/result.hxx"
21 #include "pqxx/transaction.hxx"
62 connection &c, std::string
const &name = std::string{}) :
63 namedclass{
"nontransaction", name}, transaction_base{c}
65 register_transaction();
71 virtual void do_commit()
override {}
72 virtual void do_abort()
override {}
76 #include "pqxx/internal/compiler-internal-post.hxx"
Simple "transaction" class offering no transactional integrity.
Definition: nontransaction.hxx:53
The home of all libpqxx classes, functions, templates, etc.
Definition: array.hxx:26
virtual ~nontransaction() override
Definition: nontransaction.hxx:68
nontransaction(connection &c, std::string const &name=std::string{})
Constructor.
Definition: nontransaction.hxx:61
Connection to a database.
Definition: connection.hxx:137
Interface definition (and common code) for "transaction" classes.
Definition: transaction_base.hxx:69