Is there any way to get if currently I'm inside of any transaction? For example: get if MySqli::autocommit is 'on' or 'off'?
Need this because my project is using memcache, which should only be updated once all transaction success. I wanna assert user is not invoking update cache method in the process of any transaction.
Thanks in advance!