Flask-SQLAlchemy check if row exists in table我有一个 ... exists = db.session.query(User.id).filter_by(name='davidism').scalar() is not None ...
確定! 回上一頁