INSERT ... RETURNING shows rows in /-/execute-write

Screenshot: https://github.com/simonw/datasette/issues/2762#issuecomment-4588111545
This commit is contained in:
Simon Willison 2026-05-31 14:11:42 -07:00
commit c9e5115044
6 changed files with 138 additions and 37 deletions

View file

@ -584,7 +584,7 @@ For most write statements ``"rows"`` will be an empty list and ``"truncated"``
will be ``false``. If the SQL uses SQLite's ``RETURNING`` clause, ``"rows"``
will contain returned rows using the same default representation as table and
query JSON responses. ``"truncated"`` indicates if more rows were returned than
the configured :ref:`setting_max_returned_rows` limit:
the execute-write returning row limit, which defaults to 10:
.. code-block:: json