Add a user to the database
The username for the new user
Retrieve the server build information
Execute a command
The command to execute
List the available databases
Ping the MongoDB server and retrieve results
Remove a user from a database
The username to remove
Get ReplicaSet status
Retrieve the server build information
Retrieve this db's server status.
Validate an existing collection
The name of the collection to validate.
Generated using TypeDoc
The Admin class is an internal class that allows convenient access to the admin functionality and commands for MongoDB.
ADMIN Cannot directly be instantiated