Returning id of inserted record using sqlalchemy (issue with table name)

后端 未结 0 1539
夕颜
夕颜 2021-01-30 18:02

I need to get the primary key (id) of a record inserted into a table when designing a flask API. My models.py setup is:

Base = declarati         


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