- New
table.pks_and_rows_where()
method returning(primary_key, row_dictionary)
tuples - see Listing rows with their primary keys. (#240) - Fixed bug with table.add_foreign_key() against columns containing spaces. (#238)
table_or_view.drop(ignore=True)
option for avoiding errors if the table or view does not exist. (#237)sqlite-utils drop-view --ignore
andsqlite-utils drop-table --ignore
options. (#237)- Fixed a bug with inserts of nested JSON containing non-ascii strings - thanks, Dylan Wu. (#257)
- Suggest
--alter
if an error occurs caused by a missing column. (#259) - Support creating indexes with columns in descending order, see API documentation and CLI documentation. (#260)
- Correctly handle CSV files that start with a UTF-8 BOM. (#250)