sanic_mysql
sanic_mysql copied to clipboard
Misunderstanding example in the README.md
Hi!
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 request
and it works out fine.
Without docs, I think it should be recorrected for less misunderstandings.