sanic_mysql icon indicating copy to clipboard operation
sanic_mysql copied to clipboard

Misunderstanding example in the README.md

Open NekodRider opened this issue 7 years ago • 1 comments

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.

NekodRider avatar Jul 31 '17 00:07 NekodRider