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 returnfalse
.
__gc
metamethod
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
.