The Admin class is an internal class that allows convenient access to the admin functionality and commands for MongoDB.
ADMIN Cannot directly be instantiated
Add a user to the database
The username for the new user
Execute a command
The command to execute
Remove a user from a database
The username to remove
Validate an existing collection
The name of the collection to validate.
Generated using TypeDoc