Is it necessary to close the mongoose connection using mongoose.connection.close() in code.
mongoose.connection.close()
When will it be necessary to include this?
2.1m questions
2.1m answers
60 comments
57.0k users