Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update lib/MongoDB/Database.pm #47

Closed
wants to merge 1 commit into from

2 participants

@rojasc

Fix small typo/syntax error in docs.

@friedo

Manually merged into version-0.503 branch.

@friedo friedo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 26, 2012
  1. @rojasc

    Update lib/MongoDB/Database.pm

    rojasc authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/MongoDB/Database.pm
View
2  lib/MongoDB/Database.pm
@@ -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.
Something went wrong with that request. Please try again.