SQLAlchemy: retrieve object removed by query.delete()

前端 未结 0 444
遥遥无期
遥遥无期 2020-12-24 04:31

I was testing the delete function of SQLAlchemy and noticed that if I use session.delete(obj) to remove an object, it will be listed in session.deleted

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