我怀疑这链接到我使用的BigInteger类(来自MySQL方言,而不是来自SQLAlchemy的BIGINT,因为我需要设置unsigned参数)。你知道如何以int而不是decimal.Decimal的形式从数据库中获取值吗?下面是我目前的实现: class B64ID(types.TypeDecorator):
def __init__(sel
BIGINT类型是第一个表中的主键。在第二个表中,外键是VARCHAR类型。org.postgresql.util.PSQLException: ERROR: operator doesnot exist: character varying = bigint
No operator matches the given name and argument