mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-11-26 03:49:47 +01:00
Release 1.11
This commit is contained in:
parent
3a4dddaca2
commit
d5e1f8ac77
3 changed files with 16 additions and 1 deletions
|
|
@ -2,6 +2,17 @@
|
||||||
Changelog
|
Changelog
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
.. _v1_11:
|
||||||
|
|
||||||
|
1.11 (2019-09-02)
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
Option to create triggers to automatically keep FTS tables up-to-date with newly inserted, updated and deleted records. Thanks, Amjith Ramanujam! (`#57 <https://github.com/simonw/sqlite-utils/pull/57>`__)
|
||||||
|
|
||||||
|
- ``sqlite-utils enable-fts ... --create-triggers`` - see :ref:`Configuring full-text search using the CLI <cli_fts>`
|
||||||
|
- ``db["tablename"].enable_fts(..., create_triggers=True)`` - see :ref:`Configuring full-text search using the Python library <python_api_fts>`
|
||||||
|
- Support for introspecting triggers for a database or table - see :ref:`python_api_introspection` (`#59 <https://github.com/simonw/sqlite-utils/issues/59>`__)
|
||||||
|
|
||||||
.. _v1_10:
|
.. _v1_10:
|
||||||
|
|
||||||
1.10 (2019-08-23)
|
1.10 (2019-08-23)
|
||||||
|
|
|
||||||
|
|
@ -788,6 +788,8 @@ For example:
|
||||||
""").fetchall()
|
""").fetchall()
|
||||||
# Returns [('Felton, CA',)]
|
# Returns [('Felton, CA',)]
|
||||||
|
|
||||||
|
.. _python_api_introspection:
|
||||||
|
|
||||||
Introspection
|
Introspection
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
@ -879,6 +881,8 @@ The ``.triggers`` property lists database triggers. It can be used on both datab
|
||||||
>>> db.triggers
|
>>> db.triggers
|
||||||
... similar output to db["authors"].triggers
|
... similar output to db["authors"].triggers
|
||||||
|
|
||||||
|
.. _python_api_fts:
|
||||||
|
|
||||||
Enabling full-text search
|
Enabling full-text search
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
|
|
||||||
VERSION = "1.10"
|
VERSION = "1.11"
|
||||||
|
|
||||||
|
|
||||||
def get_long_description():
|
def get_long_description():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue