postgresql+asyncpg 组合改数据有问题
dongfengweixiao opened this issue · comments
Dee 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)
AmisAdmin commented
- 版本v0.0.21已修复.