Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongoose show all indexes

Order.collection.getIndexes({full: true}).then(indexes => {
    console.log("indexes:", indexes);
    // ...
}).catch(console.error);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mongoose #show #indexes
ADD COMMENT
Topic
Name
5+1 =