This commit is contained in:
Simon Willison 2020-05-08 10:04:47 -07:00 committed by GitHub
commit 5ab848f0b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,6 +163,7 @@ await db.execute_fn(fn)
Executes a given callback function against a read-only database connection running in a thread. The function will be passed a SQLite connection, and the return value from the function will be returned by the ``await``.
Example usage:
.. code-block:: python
def get_version(conn);