mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 17:34:32 +02: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
|
||||
===========
|
||||
|
||||
.. _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:
|
||||
|
||||
1.10 (2019-08-23)
|
||||
|
|
|
|||
|
|
@ -788,6 +788,8 @@ For example:
|
|||
""").fetchall()
|
||||
# Returns [('Felton, CA',)]
|
||||
|
||||
.. _python_api_introspection:
|
||||
|
||||
Introspection
|
||||
=============
|
||||
|
||||
|
|
@ -879,6 +881,8 @@ The ``.triggers`` property lists database triggers. It can be used on both datab
|
|||
>>> db.triggers
|
||||
... similar output to db["authors"].triggers
|
||||
|
||||
.. _python_api_fts:
|
||||
|
||||
Enabling full-text search
|
||||
=========================
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|||
import io
|
||||
import os
|
||||
|
||||
VERSION = "1.10"
|
||||
VERSION = "1.11"
|
||||
|
||||
|
||||
def get_long_description():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue