FastAPI and SQLAlchemy returning last record from one to many relation

后端 未结 0 1571
长情又很酷
长情又很酷 2020-12-12 14:37

I have two models, premium and payments. In premium endpoint I want to display information about premium and last payment.

class Premium(Base):
    __tablenam         


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