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},
66 register_transaction();
72 virtual void do_commit()
override {}
73 virtual void do_abort()
override {}
77 #include "pqxx/internal/compiler-internal-post.hxx"
Simple "transaction" class offering no transactional integrity.
Definition: nontransaction.hxx:52
The home of all libpqxx classes, functions, templates, etc.
Definition: array.hxx:25
virtual ~nontransaction() override
Definition: nontransaction.hxx:69
Interface definition (and common code) for "transaction" classes.
Definition: transaction_base.hxx:97
nontransaction(connection &c, std::string const &name=std::string{})
Constructor.
Definition: nontransaction.hxx:61
Connection to a database.
Definition: connection.hxx:135