mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Support _search_COLUMN=text searches, closes #237
This commit is contained in:
parent
4d6a568d6c
commit
1259b8ac0b
5 changed files with 78 additions and 25 deletions
|
|
@ -146,6 +146,10 @@ The Datasette table view takes a number of special querystring arguments:
|
|||
`full-text search <https://www.sqlite.org/fts3.html>`_ executes a search
|
||||
with the provided keywords.
|
||||
|
||||
``?_search_COLUMN=keywords``
|
||||
Like ``_search=`` but allows you to specify the column to be searched, as
|
||||
opposed to searching all columns that have been indexed by FTS.
|
||||
|
||||
``?_group_count=COLUMN``
|
||||
Executes a SQL query that returns a count of the number of rows matching
|
||||
each unique value in that column, with the most common ordered first.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue