Closed mergingseas closed 5 years ago
I am currently doing...
db.{db_name}.mongooseConnection.close();
is that the right way?
yes, as you will just use the mongoose function "mongoose.connection.close()".
db.{db_name}.mongooseConnection is just the original mongoose connection, just use it this way.
ok thanks!
I am currently doing...
db.{db_name}.mongooseConnection.close();
is that the right way?