From d32176c5b8283fbcc5c8a1f8e6d39339d73013c4 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 10 Apr 2024 16:50:09 -0700 Subject: [PATCH] Typo fix triggera -> triggers --- docs/internals.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/internals.rst b/docs/internals.rst index e9f8b391..5cdf49b4 100644 --- a/docs/internals.rst +++ b/docs/internals.rst @@ -1222,7 +1222,7 @@ Plugins can access this database by calling ``internal_db = datasette.get_intern Plugin authors are asked to practice good etiquette when using the internal database, as all plugins use the same database to store data. For example: -1. Use a unique prefix when creating tables, indices, and triggera in the internal database. If your plugin is called ``datasette-xyz``, then prefix names with ``datasette_xyz_*``. +1. Use a unique prefix when creating tables, indices, and triggers in the internal database. If your plugin is called ``datasette-xyz``, then prefix names with ``datasette_xyz_*``. 2. Avoid long-running write statements that may stall or block other plugins that are trying to write at the same time. 3. Use temporary tables or shared in-memory attached databases when possible. 4. Avoid implementing features that could expose private data stored in the internal database by other plugins.