The TinyDB forum has found a new home at GitHub discussions. The content here remains as a read-only archive.
Hi. I know that is not recommended to use tinydb in threaded code, but I want to.
So where can I find the documentation that Describes where is the critical area that should be "thread safe"?
Hey baruchiro ,
all methods that to data access (which is basically all of them) cannot be called from different threads without causing data corruption. You can either wrap all TinyDB calls with a global lock yourself or use an extension like tinyrecord for this.