mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-30 04:44:32 +02:00
Documentation for create-triggers, refs #57
This commit is contained in:
parent
2ca63e3b2d
commit
3a4dddaca2
2 changed files with 10 additions and 0 deletions
|
|
@ -379,6 +379,10 @@ The ``enable-fts`` command will populate the new index with all existing documen
|
|||
|
||||
$ sqlite-utils populate-fts mydb.db documents title summary
|
||||
|
||||
A better solution here is to use database triggers. You can set up database triggers to automatically update the full-text index using the ``--create-triggers`` option when you first run ``enable-fts``::
|
||||
|
||||
$ sqlite-utils enable-fts mydb.db documents title summary --create-triggers
|
||||
|
||||
Vacuum
|
||||
======
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue