- db.people.getName();
- db.people.reIndex({names: 1});
- db.people.getIndexKeys();
- db.people.getIndexes();
You need to get the names of all the indexes on your current collection. What is the best way to accomplish this?
June 25, 2021June 25, 2021
0 Comment