Sqlalchemy Cannot access model's fields after async fetching data

前端 未结 0 1429
旧巷少年郎
旧巷少年郎 2021-01-12 19:39

A piece of code I have to get user by login (username)

async def get_user_by_login(login):
    query = users.select().where(users.c.login == login)
    return         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题