Re: [sqlite] Where is in_transaction of sqlite3.Connection?

2019-10-25 Thread Peng Yu
Forget about. I think in_transaction is only available in python3 but not python2. On 10/25/19, Peng Yu wrote: > https://docs.python.org/3.9/library/sqlite3.html > > The manual says in_transaction is an attribute of sqlite3.Connection. > But I don't see it. Why? > > """ > in_transaction > True

[sqlite] Where is in_transaction of sqlite3.Connection?

2019-10-25 Thread Peng Yu
https://docs.python.org/3.9/library/sqlite3.html The manual says in_transaction is an attribute of sqlite3.Connection. But I don't see it. Why? """ in_transaction True if a transaction is active (there are uncommitted changes), False otherwise. Read-only attribute. """ ==> main.py <==