mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-14 11:39:03 +00:00
9 lines
399 B
ReStructuredText
9 lines
399 B
ReStructuredText
==========================================
|
|
:mod:`sqlite` - Threaded sqlite connection
|
|
==========================================
|
|
|
|
.. module:: sqlite
|
|
|
|
.. class:: ThreadedConn(dbname, autocommit)
|
|
|
|
``sqlite`` connections can't be used across threads. ``TheadedConn`` opens a sqlite connection in its own thread and sends it queries through a queue, making it suitable in multi-threaded environment. |