Can you close all connections to MongoDB from the Mongo Shell? If so, what is the proper command?
Thank you.
There is no direct way to block connections from the shell.
However, if you were trying to block writes for a backup, then you can do that.
What are you trying to accomplish?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With