View on GitHub
ejpp
Embedded JSON Database engine for C++11/14
Public Member Functions | List of all members
ejdb::transaction_guard Struct Reference

Simple collection::transaction_t wrapper for exception safe operation using RAII More...

#include <ejdb.hpp>

+ Inheritance diagram for ejdb::transaction_guard:

Public Member Functions

 transaction_guard (collection::transaction_t &trans)
 Starts on.
 

Detailed Description

Simple collection::transaction_t wrapper for exception safe operation using RAII

Destructor aborts transaction when an exception is thrown, otherwise commits.


The documentation for this struct was generated from the following files: