Answer the question
In order to leave comments, you need to log in
What does check_same_thread mean? In python sqlite3?
What does check_same_thread mean?
And what happens if you set False? And vice versa
Answer the question
In order to leave comments, you need to log in
By default, check_same_thread is True and only the creating thread may use the connection. If set False, the returned connection may be shared across multiple threads. When using multiple threads with the same connection writing operations should be serialized by the user to avoid data corruption.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question