在SQLAlchemy中应用左外部联接之前,我试图对右手项执行一个筛选器,由于某些原因,子查询似乎没有任何效果。row.items) for row in statusRows])}")我在这里做了什么错事,使子查询实际上不应用任何筛选还有一些版本信息FWIW:Flask-SQLAlchemy 2.4.1
marshmallow-sqlalch
todos = Todo.query.filter_by(id>int(request.form.get("id"))).all() 这会产生错误。 TypeError: '>' not supported between instances of 'builtin_function_or_method' and 'int' 我知道我错了,但我不知道我该怎么做。有出路吗?