29 if (!odb::transaction::has_current())
48 ASSERT_LOG(odb::transaction::has_current(),
"No current transaction.");
49 return &odb::transaction::current();
OptionalTransaction(odb::transaction_impl *impl)
std::unique_ptr< odb::transaction > transaction_
This is the header file for a generated source file, GitSHA1.cpp.
odb::transaction * get()
Retrieve the odb transaction object.
#define ASSERT_LOG(cond, msg)
void commit()
Commit the transaction, if there was no currently active transaction at the time of this object's cre...