Sqlite-utils

Latest version: v3.36

Safety actively analyzes 638418 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 14 of 19

2.4.2

* `table.column_dicts` now works with all column types - previously it would throw errors on types other than `TEXT`, `BLOB`, `INTEGER` or `FLOAT`. (92)
* Documentation for `NotFoundError` thrown by `table.get(pk)` - see [Retrieving a specific record](https://sqlite-utils.readthedocs.io/en/latest/python-api.html#python-api-get).

2.4.1

* `table.enable_fts()` now works with columns that contain spaces. (90)

2.4

* `table.disable_fts()` can now be used to remove FTS tables and triggers that were created using `table.enable_fts(...)`. (88)
* The `sqlite-utils disable-fts` command can be used to remove FTS tables and triggers from the command-line. (88)
* Trying to create table columns with square braces ([ or ]) in the name now raises an error. (86)
* Subclasses of `dict`, `list` and `tuple` are now detected as needing a JSON column. (87)

2.3.1

table.create_index()` now works for columns that contain spaces. (85)

2.3

table.exists()` is now a method, not a property. This was not a documented part of the API before so I’m considering this a non-breaking change. (83)

2.2.1

Fixed a bug where `.upsert(..., hash_id="pk")` threw an error (84).

Page 14 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.