dupeguru/hscommon/docs/sqlite.rst

9 lines
399 B
ReStructuredText
Raw Normal View History

2013-06-22 20:32:23 -05:00
==========================================
: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.