Home > database >  Mongo every time after operation, add and delete the database, do not need to close the database? Th
Mongo every time after operation, add and delete the database, do not need to close the database? Th

Time:10-09

mongo database encapsulates the article
https://blog.csdn.net/weixin_43704471/article/details/86590392

want to ask next everybody a great god give directions!
Mongo so that every time after encapsulation, reference to add and delete after operation need to close the database?
Not to close the case indeed each query database speed a lot!
But see other database operations will basically every operation, close close again!
Want to ask next mongo encapsulation, so if you don't need to shut down a every operation, will affect the performance?
  • Related