mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-12 11:34:09 +02:00
Documentation tweaks
This commit is contained in:
parent
f2e2700477
commit
9631d9acdf
1 changed files with 1 additions and 3 deletions
|
|
@ -116,9 +116,6 @@ 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>`_,
|
||||
aggregates and collations. For example:
|
||||
|
||||
|
||||
Example implementation:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
import click
|
||||
|
|
@ -134,4 +131,5 @@ This registers a SQL function called ``hello`` which takes a single
|
|||
argument and can be called like this::
|
||||
|
||||
.. code-block:: sql
|
||||
|
||||
select hello("world"); -- "Hello, world!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue