box.is_in_txn() | Tarantool

box.is_in_txn()

box.is_in_txn()

If a transaction is in progress (for example the user has called box.begin() and has not yet called either box.commit() or box.rollback(), return true. Otherwise return false.

Found what you were looking for?
Feedback