Background DB Writing Become Very Slow with db.app.app_context()

后端 未结 0 444
独厮守ぢ
独厮守ぢ 2021-01-15 06:08
def reloadDB():
    print("Start reloading DB")
    with db.app.app_context():
    db.session.query(PDWave).delete()
    db.session.commit()
    with curre         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题