SQLalchemy | How to query a DB and append items to a list

后端 未结 0 1168
别那么骄傲
别那么骄傲 2020-11-30 23:04

I am trying to append each column in a query to a list.

class Post(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    word = db.Column(db.String(         


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