sqlite3.Connection.set_progress_handler()

set_progress_handler(handler, n)

This routine registers a callback. The callback is invoked for every n instructions of the SQLite virtual machine. This is useful if you want to get called from SQLite during long-running operations, for example to update a GUI.

If you want to clear any previously installed progress handler, call the method with None for handler.

doc_python
2016-10-07 17:42:37
Comments
Leave a Comment

Please login to continue.