Answers for "mongodb check connection status"

1

mongodb check connection status

> var status = db.serverStatus()
> status.connections
   {"current" : 21, "available" : 15979}
>
Posted by: Guest on June-08-2020

Browse Popular Code Answers by Language