?_trace=1 now adds SQL trace info to JSON/HTML response

Also added documentation for it. Refs #435
This commit is contained in:
Simon Willison 2019-04-21 10:41:16 -07:00
commit 58a862cee4
2 changed files with 23 additions and 5 deletions

View file

@ -303,6 +303,11 @@ Special table arguments
Pagination by continuation token - pass the token that was returned in the
``"next"`` property by the previous page.
``?_trace=1``
Turns on tracing for this page: SQL queries executed during the request will
be gathered and included in the response, either in a new ``"_traces"`` key
for JSON responses or at the bottom of the page if the response is in HTML.
.. _expand_foreign_keys:
Expanding foreign key references