| |
read source history
= getIndexes() =
----
[[MongoDB Driver Function Reference]]
Returns all indexes on the collection.
[[[@cG
<collection>.getIndexes()
]]]
**Arguments**
[[[@w
|@t0@r0@c0 <collection> | | The target collection. |
]]]
**Return Value**
[[[@w
Returns a result set (cursor).
]]]
**Example**
[[[@cw
db.employees.getIndexes();
]]]
Gets information about all indexes on the //employees// collection.
----
[[Main|home]] | [[MongoDB Driver Function Reference]] | [[MongoDB Driver]]
|