def disconnect(self):
""" close the connection. it doesn't return to the pool """
if self.__pool and self.__conn:
self.__pool.putconn(self.__conn, close=True)
self.__pool = None
self.__conn = None
postgresqlconn.py 文件源码
python
阅读 52
收藏 0
点赞 0
评论 0
评论列表
文章目录