rrapp.py # # Imports up here # app = Flask(__name__) mongo = PyMongo(app) # Code down here 现在,要使用它,我只需执行 mongo.db.users.find() .这工作正常。
確定! 回上一頁