Please enable JavaScript to view this site.

Codolex

Navigation: Activities > Database > Transactions

Rollback transaction

Scroll Prev Top Next More

The 'Transaction rollback' activity rolls back the database changes made in between the start of a transaction and this activity.

 

transactionEnd

Activity properties

 

begin

var Connection := CodolexFramework.DatabaseQueryProvider['Codolex'].Connection;

 Connection.RollBack;

end;

Resulting code

 

Select one of the available databases that can work with transactions in the properties.

 

When multiple transactions are started on a database, the last transaction will be rolled backed by this activity.

© by GDK Software