jstests/noPassthrough/libs/index_build.js
/**
     * Generates index names based on the shape of 'indexSpecs'.
     */
Generates index names based on the shape of 'indexSpecs'.
Generates index names based on the shape of ' indexSpecs ' .
static generateIndexNames(indexSpecs) {
        const indexNames = new Array(indexSpecs.length);
        for (let i = 0; i < indexSpecs.length; i++) {
            indexNames[i] = new Array(indexSpecs[i].length);
            for (let j = 0; j < indexSpecs[i].length; j++) {
                indexNames[i][j] = "resumable_index_build_" + i + "_" + j;
            }
        }
        return indexNames;
    }
static generateIndexNames ( indexSpecs ) { const indexNames = new Array ( indexSpecs . length ) ; for ( let i = 0 ; i < indexSpecs . length ; i ++ ) { indexNames [ i ] = new Array ( indexSpecs [ i ] . length ) ; for ( let j = 0 ; j < indexSpecs [ i ] . length ; j ++ ) { indexNames [ i ] [ j ] = "resumable_index_build_" + i + "_" + j ; } } return indexNames ; }
Generates index names based on the shape of 'indexSpecs'.
Generates index names based on the shape of ' indexSpecs ' .