mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
?_nofacets=1 option, closes #1350
This commit is contained in:
parent
f7d3e76fb3
commit
c5ae1197a2
4 changed files with 28 additions and 7 deletions
|
|
@ -86,6 +86,8 @@ If Datasette detects that a column is a foreign key, the ``"label"`` property wi
|
|||
|
||||
The default number of facet results returned is 30, controlled by the :ref:`setting_default_facet_size` setting. You can increase this on an individual page by adding ``?_facet_size=100`` to the query string, up to a maximum of :ref:`setting_max_returned_rows` (which defaults to 1000).
|
||||
|
||||
.. _facets_metadata:
|
||||
|
||||
Facets in metadata.json
|
||||
-----------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -383,6 +383,9 @@ Special table arguments
|
|||
``?_facet_size=100``
|
||||
Increase the number of facet results returned for each facet. Use ``?_facet_size=max`` for the maximum available size, determined by :ref:`setting_max_returned_rows`.
|
||||
|
||||
``?_nofacets=1``
|
||||
Disable all facets and facet suggestions for this page, including any defined by :ref:`facets_metadata`.
|
||||
|
||||
``?_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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue