Wt: Wt::Auth::AbstractUserDatabase::Transaction Class Reference

Wt 4.10.4

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Wt::Auth::AbstractUserDatabase::Transaction Class Referenceabstract

An abstract transaction. More...

`#include <AbstractUserDatabase.h>`

## Public Member Functions
virtual | ~Transaction () noexcept(false)
| Destructor.
virtual void | commit ()=0
| Commits the transaction.
virtual void | rollback ()=0
| Rolls back the transaction.

## Detailed Description

An abstract transaction.

An abstract transaction interface.

See also
  startTransaction()

## Constructor & Destructor Documentation

## ◆ ~Transaction()

virtual Wt::Auth::AbstractUserDatabase::Transaction::~Transaction | ( |  | ) |
| virtual

Destructor.

If the transaction is not yet finished (committed or rolled back), it will be rolled back.

See also
  rollback()

## Member Function Documentation

## ◆ commit()

virtual void Wt::Auth::AbstractUserDatabase::Transaction::commit | ( |  | ) |
| pure virtual

Commits the transaction.

See also
  rollback()

## ◆ rollback()

virtual void Wt::Auth::AbstractUserDatabase::Transaction::rollback | ( |  | ) |
| pure virtual

Rolls back the transaction.

See also
  commit()