question about making models in sqlalchemy

前端 未结 0 1114
眼角桃花
眼角桃花 2020-12-22 15:43

I\'m confused whether to use relationship or ForeignKey for each class.

I\'m making models like:

class Map(db.Model):
    id = db.Column(db.Integer, pr         


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