SQLAlchemy makes an object with no id

前端 未结 0 540
名媛妹妹
名媛妹妹 2021-02-05 17:23

I am using FlaskSQLAlchemy to connect to a SQLite database. When making an instance of a model, it gives him all the column values except the id which is the primary key.

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