Insert into two related tables (one to many) in Postgres using sqlalchemy ORM

后端 未结 0 1702
挽巷
挽巷 2021-02-19 04:42

I have two tables with syntax as follows,

class Attribute_Values(db.Model):
    __tablename__ = \'attribute_values \'

    id = db.Column(db.Integer, ForeignKey(\         


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