mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 17:34:32 +02:00
parent
03ee97d225
commit
4d9a320436
3 changed files with 9 additions and 2 deletions
|
|
@ -2,6 +2,13 @@
|
|||
Changelog
|
||||
===========
|
||||
|
||||
.. _v2_10:
|
||||
|
||||
2.10 (2020-06-12)
|
||||
-----------------
|
||||
|
||||
- The ``sqlite-utils`` command now supports UPDATE/INSERT/DELETE in addition to SELECT. (`#115 <https://github.com/simonw/sqlite-utils/issues/115>`__)
|
||||
|
||||
.. _v2_9_1:
|
||||
|
||||
2.9.1 (2020-05-11)
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ If you want to pretty-print the output further, you can pipe it through ``python
|
|||
}
|
||||
]
|
||||
|
||||
If you execute an `UPDATE` or `INSERT` query the comand will return the number of affected rows::
|
||||
If you execute an ``UPDATE``, ``INSERT`` or ``DELETE`` query the comand will return the number of affected rows::
|
||||
|
||||
$ sqlite-utils dogs.db "update dogs set age = 5 where name = 'Cleo'"
|
||||
[{"rows_affected": 1}]
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|||
import io
|
||||
import os
|
||||
|
||||
VERSION = "2.9.1"
|
||||
VERSION = "2.10"
|
||||
|
||||
|
||||
def get_long_description():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue