mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-12 11:34:09 +02:00
Fixed prepare_connection heading
This commit is contained in:
parent
80a5020e6d
commit
f2e2700477
1 changed files with 4 additions and 2 deletions
|
|
@ -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 <https://docs.python.org/2/library/sqlite3.html#sqlite3.Connection.create_function>`_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue