Discuss / Python / 停顿了2天,找资料

停顿了2天,找资料

Topic source

看了有关aiomysql、sql语句、mysql数据库、metaclass的资料

  • aiomysql知识点有async with pool.acquire() as conn的使用、aiomysql.DictCursor的意思、pool.close()和await __pool.wait_closed()的使用
  • sql语句的知识点是findNumber函数里sql语句应该是
    select count(%s) _num_ from `%s`
    

  • 1

Reply