mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
disable-fts and .disable_fts(), closes #88
This commit is contained in:
parent
b0ca657f49
commit
f9473ace14
6 changed files with 96 additions and 0 deletions
|
|
@ -1052,6 +1052,12 @@ A better solution is to use database triggers. You can set up database triggers
|
|||
|
||||
dogs.enable_fts(["name", "twitter"], fts_version="FTS4")
|
||||
|
||||
To remove the FTS tables and triggers you created, use the ``disable_fts()`` table method:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
dogs.disable_fts()
|
||||
|
||||
Optimizing a full-text search table
|
||||
===================================
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue