Release 1.12

This commit is contained in:
Simon Willison 2019-11-04 08:28:52 -08:00
commit a0a65f9a64
3 changed files with 13 additions and 1 deletions

View file

@ -2,6 +2,16 @@
Changelog
===========
.. _v1_12:
1.12 (2019-11-04)
-----------------
Python library utilities for deleting records (`#62 <https://github.com/simonw/sqlite-utils/issues/62>`__)
- ``db["tablename"].delete(4)`` to delete by primary key, see :ref:`python_api_delete`
- ``db["tablename"].delete_where("id > ?", [3])`` to delete by a where clause, see :ref:`python_api_delete_where`
.. _v1_11:
1.11 (2019-09-02)

View file

@ -396,6 +396,8 @@ The ``delete()`` method takes the primary key of the record. This can be a tuple
>>> db["compound_dogs"].delete((5, 3))
.. _python_api_delete_where:
Deleting multiple records
=========================

View file

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import io
import os
VERSION = "1.11"
VERSION = "1.12"
def get_long_description():