Details
-
Question
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
None
-
None
-
None
Description
> db.$cmd.findOne(
{deleteIndexes: "y", index: "bar_1_baz_1_foo_1"})
{"nIndexesWas" : 4 , "ok" : 1}> db.$cmd.findOne(
{index: "bar_1_baz_1_foo_1", deleteIndexes: "y"})
{"errmsg" : "no such cmd" , "ok" : 0}This kind of sucks for Perl, as it hashes those particular k/v's with "index" first. If people try something like:
$db->run_command(
{ whatever => ...})
it might not work and be confusing as to why.