Skip to content

Glossary: MongoDB

getIndexes

Also written: getIndexes()

A method that lists a collection's indexes. Every collection gets an `_id_` index automatically.

Where the book teaches it

Related terms

createIndexdropIndex