We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d558ff + a37be74 commit cb392f2Copy full SHA for cb392f2
mongo/create_indexes.js
@@ -445,6 +445,7 @@ function createGeoSpatialIndex(collection){
445
}
446
447
function createAdditionalIndexes(collection){
448
+ const collectionName = collection['name'];
449
for (const additionalIndex of collection['additionalIndexes'] || []) {
450
console.log("Creating additional index for " + collectionName + " with index: " + JSON.stringify(additionalIndex));
451
const index_name = Object.entries(additionalIndex).map(([key, value]) => `${key}_${value}`).join("_");
0 commit comments