What is the correct way to create object with relationship in SQLAlchemy

前端 未结 0 1050
旧时难觅i
旧时难觅i 2021-02-02 12:02

I\'ve two models, Parent and Child over a SQLite db.

class Parent(Base):
    __tablename__ = \'PARENTS\'
    id = Column(Integer, primary_key=True)
    name = Col         


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