mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-11-27 20:39:47 +01:00
Release 0.13
This commit is contained in:
parent
10e3aab4c6
commit
1b6025e8ab
4 changed files with 16 additions and 2 deletions
|
|
@ -2,6 +2,18 @@
|
||||||
Changelog
|
Changelog
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
.. _v0_13:
|
||||||
|
|
||||||
|
0.13 (2019-02-23)
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
- New ``--table`` and ``--fmt`` options can be used to output query results in a variety of visual table formats, see :ref:`cli_query_table`
|
||||||
|
- New ``hash_id=`` argument can now be used for :ref:`python_api_hash`
|
||||||
|
- Can now derive correct column types for numpy int, uint and float values
|
||||||
|
- ``table.last_id`` has been renamed to ``table.last_rowid``
|
||||||
|
- ``table.last_pk`` now contains the last inserted primary key, if ``pk=`` was specified
|
||||||
|
- Prettier indentation in the ``CREATE TABLE`` generated schemas
|
||||||
|
|
||||||
.. _v0_12:
|
.. _v0_12:
|
||||||
|
|
||||||
0.12 (2019-02-22)
|
0.12 (2019-02-22)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
.. _python_api:
|
.. _cli:
|
||||||
|
|
||||||
================================
|
================================
|
||||||
sqlite-utils command-line tool
|
sqlite-utils command-line tool
|
||||||
|
|
|
||||||
|
|
@ -182,6 +182,8 @@ Note that the ``pk`` and ``column_order`` parameters here are optional if you ar
|
||||||
|
|
||||||
An ``upsert_all()`` method is also available, which behaves like ``insert_all()`` but performs upserts instead.
|
An ``upsert_all()`` method is also available, which behaves like ``insert_all()`` but performs upserts instead.
|
||||||
|
|
||||||
|
.. _python_api_hash:
|
||||||
|
|
||||||
Setting an ID based on the hash of the row contents
|
Setting an ID based on the hash of the row contents
|
||||||
===================================================
|
===================================================
|
||||||
|
|
||||||
|
|
|
||||||
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 = "0.12"
|
VERSION = "0.13"
|
||||||
|
|
||||||
|
|
||||||
def get_long_description():
|
def get_long_description():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue