Which command can be used to rebuild the indexes on a collection in MongoDB?

Which command can be used to rebuild the indexes on a collection in MongoDB?
A . db.collection.createlndex({relndex:l})
B . db.collection.reIndex({author:l})
C . db.collection.relndexQ
D . db.collection.createIndex({author:l}).reIndex()

Answer: C

Latest C100DBA Dumps Valid Version with 132 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments