grammar
db.collectionspace.collection.listIndexes()
Enumerate index . Executing this method will display all index information under the specified collection.
parameter
no
Field information
Click on Jushan Database Documentation Center for more information