mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Facet by date, closes #481
This commit is contained in:
parent
2d14f21f85
commit
967230c90e
6 changed files with 231 additions and 40 deletions
|
|
@ -138,4 +138,11 @@ If your SQLite installation provides the ``json1`` extension (you can check usin
|
|||
|
||||
This is useful for modelling things like tags without needing to break them out into a new table.
|
||||
|
||||
You can try this functionality out at `latest.datasette.io/fixtures/facetable?_facet_array=tags <https://latest.datasette.io/fixtures/facetable?_facet_array=tags>`__
|
||||
You can try this functionality out at `latest.datasette.io/fixtures/facetable?_facet_array=tags <https://latest.datasette.io/fixtures/facetable?_facet_array=tags>`__
|
||||
|
||||
Facet by date
|
||||
-------------
|
||||
|
||||
If Datasette finds any columns that contain dates in the first 100 values, it will offer a faceting interface against the dates of those values. This works especially well against timestamp values such as ``2019-03-01 12:44:00``.
|
||||
|
||||
Demo here: `latest.datasette.io/fixtures/facetable?_facet_date=created <https://latest.datasette.io/fixtures/facetable?_facet_date=created>`__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue