2010-12-19 63 views

回答

56

如果你想索引的原始訪問,您可以查詢db.system.indexes集合:

> db.system.indexes.find() 

要查找某個特定集合的索引,你可以這樣做:

> db.collection.getIndexes() 

this question

相關問題