【发布时间】:2020-11-07 15:19:42
【问题描述】:
todos = Todo.query.filter_by(id>int(request.form.get("id"))).all()
这给出了错误。
TypeError: '>' not supported between instances of 'builtin_function_or_method' and 'int'
我知道我的错误,但我不知道我该怎么做。有出路吗?
【问题讨论】:
标签: flask-sqlalchemy queryselector