sanic_mysql
sanic_mysql copied to clipboard
Mysql support for sanic
Make script consistent with sanic==19.12.2 .
Simple fix to support logging with recent Sanic version. Will work with old versions too.
Hi! ``` python val = await request.app.mysql.query('select 10') ``` When I first saw this line, I felt strange about the use of ```request.app``` . Later I tried to remove the...
The importing "sanic.log" doesn't work in actual Sanic version, then it is necessary to use "import logging"