How to bulk load relations in sqlalchemy for a subset of parents?

前端 未结 0 1936
傲寒
傲寒 2021-01-07 16:16

Let\'s say I have two models Blog and Comment with a one to many relationship.

class Blog(Base):
    id = Column(Integer, primary_key=True)
    comments = rel         


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