3.2.1
Notice: the default mysql driver for Peewee has changed to pymysql
in version 3.2.1. In previous versions, if both mysql-python and pymysql
were installed, Peewee would use mysql-python. As of 3.2.1, if both libraries
are installed Peewee will use pymysql.
- Added new module
playhouse.mysql_ext
which includesMySQLConnectorDatabase
, a database implementation that works with the mysql-connector driver. - Added new field to
ColumnMetadata
class which captures a database column's default value.ColumnMetadata
is returned byDatabase.get_columns()
. - Added documentation on making Peewee async.