issues
search
05bit
/
peewee-async
Asynchronous interface for peewee ORM powered by asyncio
http://peewee-async-lib.readthedocs.io
MIT License
734
stars
98
forks
source link
chore: connect_params refactoring
#281
Closed
kalombos
closed
3 months ago
kalombos
commented
3 months ago
How it was in earlier version:
You can pass
min_connections
and
max_connections
but you cannot pass minsize and maxsize.
You can pass
connection_timeout
which converts to
timeout
param in aiopg.create_pool and
connect_timeout
param in aiomysql.create_pool.
autocommit
param is always true for mysql db.
enable_json
and
enable_hstore
is always False for NoExt PostresqlDatabase.
enable_json
is always True and
enable_hstore
depends on
register_hstore
for PostgresqlExtDatabase
How it was in earlier version: