mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Test for .execute_fn(), refs #685
This commit is contained in:
parent
5ab848f0b8
commit
2694ddcf14
2 changed files with 12 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ Example usage:
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
def get_version(conn);
|
||||
def get_version(conn):
|
||||
return conn.execute(
|
||||
"select sqlite_version()"
|
||||
).fetchall()[0][0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue