Рейтинг@Mail.ru

box.on_rollback()

box.on_rollback()

box.on_rollback(trigger-function[, old-trigger-function])

Define a trigger for execution when a transaction ends due to an event such as box.rollback().

The parameters and warnings are exactly the same as for box.on_commit().