Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Commit

Permalink
Update lib/MongoDB/Database.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
rojasc committed Oct 26, 2012
1 parent de6d03b commit ed26fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MongoDB/Database.pm
Expand Up @@ -313,7 +313,7 @@ Runs a database command. Returns a string with the error message if the
command fails. Returns the result of the command (a hash reference) on success.
For a list of possible database commands, run:
my $commands = $db->run_command({listCommands : 1});
my $commands = $db->run_command({listCommands => 1});
There are a few examples of database commands in the
L<MongoDB::Examples/"DATABASE COMMANDS"> section.
Expand Down

0 comments on commit ed26fb1

Please sign in to comment.