From f51b712479a02194380379df405eb0a257104731 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 10 Aug 2021 14:52:40 -0700 Subject: [PATCH] Fixed rogue backtick, renamed to API Reference --- docs/reference.rst | 6 +++--- sqlite_utils/db.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reference.rst b/docs/reference.rst index c488772..0948e58 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -1,6 +1,6 @@ -=========== - Reference -=========== +=============== + API Reference +=============== .. contents:: :local: diff --git a/sqlite_utils/db.py b/sqlite_utils/db.py index 32fcaa1..4152ce8 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -208,7 +208,7 @@ class Database: - ``recreate`` - set to ``True`` to delete and recreate a file database (**dangerous**) - ``recursive_triggers`` - defaults to ``True``, which sets ``PRAGMA recursive_triggers=on;`` - set to ``False`` to avoid setting this pragma - - ``tracer``` - set a tracer function (``print`` works for this) which will be called with + - ``tracer`` - set a tracer function (``print`` works for this) which will be called with ``sql, parameters`` every time a SQL query is executed - ``use_counts_table`` - set to ``True`` to use a cached counts table, if available. See :ref:`python_api_cached_table_counts`.