diff --git a/docs/plugins.rst b/docs/plugins.rst index 91540aa..34017a7 100644 --- a/docs/plugins.rst +++ b/docs/plugins.rst @@ -107,8 +107,10 @@ Example implementation: "Say hello world" click.echo("Hello world!") -prepare_connection(conncl) -~~~~~~~~~~~~~~~~~~~~~~ +.. _plugins_hooks_prepare_connection: + +prepare_connection(conn) +~~~~~~~~~~~~~~~~~~~~~~~~ This hook is called when a new SQLite database connection is created. You can use it to `register custom SQL functions `_,