For with múltiples variables python to json

后端 未结 0 781
失恋的感觉
失恋的感觉 2020-12-02 01:31

I have a database in flask and I need to pass it to json format This is my code:

@app.route(\'/json2\')
def try1():
    JsonId = db.session.query(Data.id).all         


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