A cross-platform functional programming language

transaction Class Reference

Intrinsic transaction type. More...

#include <zbl.hpp>

List of all members.

Public Member Functions

 transaction (database &db)
 Default constructor.
 ~transaction ()
void commit ()
 Commit a transaction.

Private Attributes

 The database.
bool _committed
 True if commited.

Detailed Description

Intrinsic transaction type.

To be used as a local variable. If commit() is not called, the destructor calls rollback.

Constructor & Destructor Documentation

transaction ( database db) [inline, explicit]

Default constructor.

dbThe database for the transaction

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines