Skip to content

Releases: simonw/sqlite-utils

2.11

08 Jul 17:36

Choose a tag to compare

  • New --truncate option to sqlite-utils insert, and truncate=True argument to .insert_all(). Thanks, Thomas Sibley. (#118)
  • The sqlite-utils query command now runs updates in a transaction. Thanks, Thomas Sibley. (#120)

2.10.1

23 Jun 21:04
97246f9

Choose a tag to compare

  • Added documentation for the table.pks introspection property. #116

2.10

12 Jun 17:44

Choose a tag to compare

  • The sqlite-utils command now supports UPDATE/INSERT/DELETE in addition to SELECT. #115

2.9.1

11 May 19:21

Choose a tag to compare

2.9

11 May 01:57

Choose a tag to compare

2.9
  • New sqlite-utils drop-table command, see Dropping tables. (#111)
  • New sqlite-utils drop-view command, see Dropping views.
  • Python decimal.Decimal objects are now stored as FLOAT. (#110)

2.8

03 May 15:41

Choose a tag to compare

2.8

2.7.2

02 May 16:10

Choose a tag to compare

  • db.create_view(...) now has additional parameters ignore=True or replace=True, see Creating views. (#106)

2.7.1

01 May 22:11

Choose a tag to compare

  • New sqlite-utils views my.db command for listing views in a database, see Listing views. (#105)
  • sqlite-utils tables (and views) has a new --schema option which outputs the table/view schema, see Listing tables. (#104)
  • Nested structures containing invalid JSON values (e.g. Python bytestrings) are now serialized using repr() instead of throwing an error. (#102)

2.7

30 Apr 18:33

Choose a tag to compare

2.7
  • New columns= argument for the .insert(), .insert_all(), .upsert() and .upsert_all() methods, for over-riding the auto-detected types for columns and specifying additional columns that should be added when the table is created. See Custom column order and column types. (#100)

2.6

16 Apr 03:14

Choose a tag to compare

2.6
  • New table.rows_where(..., order_by="age desc") argument, see Listing rows. (#76)