mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-08-25 18:54:09 +02:00
Database(..., execute_plugins=False) mechanism, refs #575
This commit is contained in:
parent
3f80a02698
commit
374a816c72
3 changed files with 24 additions and 15 deletions
|
|
@ -20,6 +20,12 @@ You can see a JSON list of plugins that have been installed by running this:
|
|||
|
||||
sqlite-utils plugins
|
||||
|
||||
Plugin hooks such as :ref:`plugins_hooks_prepare_connection` affect each instance of the ``Database`` class. You can opt-out of these plugins by creating that class instance like so:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
db = Database(memory=True, execute_plugins=False)
|
||||
|
||||
.. _plugins_building:
|
||||
|
||||
Building a plugin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue