How do I generate a reference to a user name given the id with sql alchemy Flask?

后端 未结 0 1697
闹比i
闹比i 2021-01-21 04:51

I have a post model like so:

class Post(db.Model):
    id = db.Column("id", db.Integer, primary_key=True)
    title = db.Column(db.String(100))
    cont         


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