amisadmin / fastapi-amis-admin

FastAPI-Amis-Admin is a high-performance, efficient and easily extensible FastAPI admin framework. Inspired by django-admin, and has as many powerful functions as django-admin.

Home Page:http://docs.amis.work

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

postgresql+asyncpg 组合改数据有问题

dongfengweixiao opened this issue · comments

commented

使用 postgresql+asyncpg 的组合,在更改数据时界面提示内部错误,终端提示:

sqlalchemy.exc.ProgrammingError: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.UndefinedFunctionError'>: operator does not exist: integer = character varying        
HINT:  No operator matches the given name and argument types. You might need to add explicit type casts.
[SQL: UPDATE "user" SET username=%s WHERE "user".id IN (%s)]
[parameters: ('zhangsan6', '1')]
(Background on this error at: https://sqlalche.me/e/14/f405)
  • 版本v0.0.21已修复.