我有一个Flask 应用程序,它使用sqlalchemy连接到一个MySQL数据库。 ... exists = db.session.query(User.id).filter_by(name='davidism').scalar() is not None.
確定! 回上一頁