commandHelp(command)
This method takes one argument. This method displays the help text for the specified database command.
Parameters Description:
command: The name of the database command. Type is a string. For example find, count.
Example 1:
db.commandHelp('find')
help for: find query for documents
Example 2:
db.commandHelp('count')
help for: count count objects in collection
No comments:
Post a Comment