github coleifer/peewee 2.2.3

latest releases: 3.14.10, 3.14.9, 3.14.8...
10 years ago

This release contains a new migrations module in addition to a number of small features and bug fixes.

Changes in 2.2.1

  • New migrations module.
  • Added a return value to Model.save() indicating number of rows affected.
  • Added a date_trunc() method that works for Sqlite.
  • Added a Model.sqlall() class-method to return all the SQL to generate the model / indices.

Bugs fixed

  • #342, allow functions to not coerce parameters automatically.
  • #338, fixed unaliased columns when using Array and Json fields with postgres, thanks @mtwesley.
  • #331, corrected issue with the way unicode arrays were adapted with psycopg2.
  • #328, pwiz / mysql bug.
  • #326, fixed calculation of the alias_map when using subqueries.
  • #324, bug with prefetch() not selecting the correct primary key.

View commits

Don't miss a new peewee release

NewReleases is sending notifications on new releases.