-
Type: Bug
-
Resolution: Done
-
Priority: Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: Index Maintenance
-
None
-
ALL
> db.test5.ensureIndex(
{x:"foo"})
> db.test5.getIndexes()
[
{
"name" : "id",
"ns" : "test.test5",
"key" :
},
{
"_id" : ObjectId("4d46194d53ffe3441923319f"),
"ns" : "test.test5",
"key" :
,
"name" : "x_",
"v" : 0
}
]
It seems like it should be 1 of the 3 possible values when it is stored.
- related to
-
SERVER-1627 add createIndexes command
- Closed