Following is the syntax to get method details in mongo database.
db.prototype."command_name"
For example: If you want to get prototype details of "find" method then use command in the following way.
db.prototype.find
Note: Avoid to use parenthesis "()" after the command name.