Do you need to close pymongo manually?
迷茫2017-06-16 09:21:09
Although it is not a mandatory requirement, because it will naturally be released when the program exits. However, it is still strongly recommended to close
after use or use context management syntax to avoid unnecessary errors