One to many relation in FastAPI and SQLAlchemy

前端 未结 0 1768
天涯浪人
天涯浪人 2020-11-27 03:16

I am building API with three tables, products, users, and orders.

I am wondering how to handle orders with multiple products inside.

class Product(Base         


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