mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
?_trace=1 now adds SQL trace info to JSON/HTML response
Also added documentation for it. Refs #435
This commit is contained in:
parent
7d01ca34a1
commit
58a862cee4
2 changed files with 23 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue