mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Markup tweak for track_event docs
This commit is contained in:
parent
2ad51baa31
commit
8dc9bfa2ab
1 changed files with 1 additions and 1 deletions
|
|
@ -1951,7 +1951,7 @@ This example plugin logs details of all events to standard error:
|
|||
|
||||
The function can also return an async function which will be awaited. This is useful for writing to a database.
|
||||
|
||||
This example logs events to a `datasette_events` table in a database called `events`. It uses the `startup()` hook to create that table if it does not exist.
|
||||
This example logs events to a ``datasette_events`` table in a database called ``events``. It uses the :ref:`plugin_hook_startup` hook to create that table if it does not exist.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue