2020-04-03から1日間の記事一覧

SQLite3: How to know transaction is already started

You can use get_autocommit() to know transaction is already started or not. When transaction is started: This function return 0 because auto-commit is disabled. When transaction is not started: This function return non-0 because auto-commi…