Dealing properly with closed connection with pymysql

前端 未结 0 1894
挽巷
挽巷 2021-02-04 11:33

I am making a class to unify the way we deal with the database and I want to make sure the connection is closed when the object is not used anymore, the class is something like

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