From 8299387b9fbf0cff65afbc0cc29fefa415898502 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 31 May 2026 12:49:37 -0700 Subject: [PATCH] Link execute_write request docs to write_wrapper --- docs/internals.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/internals.rst b/docs/internals.rst index ed8baf4a..7f679867 100644 --- a/docs/internals.rst +++ b/docs/internals.rst @@ -1937,7 +1937,7 @@ This method can be used to queue up a non-SELECT SQL query to be executed agains You can pass additional SQL parameters as a tuple or dictionary. -The optional ``request=`` argument is used internally by Datasette to pass request context to write hooks. +The optional ``request=`` argument is used internally by Datasette to pass request context to :ref:`write_wrapper plugin hooks `. The method will block until the operation is completed, and the return value will be an ``ExecuteWriteResult`` object. This imitates a subset of the ``sqlite3.Cursor`` object: