mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
sqlite-utils search --quote option, closes #296
This commit is contained in:
parent
8ae77a6961
commit
ccf128cd6d
3 changed files with 48 additions and 15 deletions
|
|
@ -1519,6 +1519,8 @@ By default it shows the most relevant matches first. You can specify a different
|
|||
# Sort by created in descending order
|
||||
$ sqlite-utils search mydb.db documents searchterm -o 'created desc'
|
||||
|
||||
SQLite `advanced search syntax <https://www.sqlite.org/fts5.html#full_text_query_syntax>`__ is enabled by default. To run a search with automatic quoting use the ``--quote`` option.
|
||||
|
||||
You can specify a subset of columns to be returned using the ``-c`` option one or more times::
|
||||
|
||||
$ sqlite-utils search mydb.db documents searchterm -c title -c created
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue