CONZEPT 16 C++ API
C16::Transactions Class Referenceabstract

Transactions performed by the user accessing the database. More...

#include "C16/Transactions.hpp"

Detailed Description

Transactions performed by the user accessing the database.

Public Member Functions

virtual int depth () const =0
 Gets the depth of the transactions. More...
 
virtual void abort_all ()=0
 Aborts all active transactions. More...
 

Member Function Documentation

◆ depth()

virtual int C16::Transactions::depth ( ) const
pure virtual

Gets the depth of the transactions.

The depth is the number of active transactions.

See also
Transaction::level

◆ abort_all()

virtual void C16::Transactions::abort_all ( )
pure virtual

Aborts all active transactions.

All manipulations to database entities that are covered by transactions will be rejected.

The state of all active transactions will be aborted.

Note
Has no effect if there is no active transaction.
See also
Transaction::abort