[MongoDB] How can I close a MongoDB connection after used?
mongodb
Web icon
Forge component by Barduino
Application Type
Reactive

How can I close a MongoDB connection after used?
I'm using MongoDB component in my app.

I find that in the MongoDBlibX just only open the connection without close it after used.

I'm afraid that opening too many connections will lead to crashes my applicaiton.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.