SQL, Flask: How do I get the id of a user when I've set its primary key?

前端 未结 0 1934
清歌不尽
清歌不尽 2020-12-15 07:02

I have this model for a user here which stores information.

class User(db.Model):
    _id = db.Column("id", db.Integer, primary_key=True)
    name =         


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