jstests/noPassthrough/rollback_wt_drop.js
// Assumes all collections fit in first batch of results.
Assumes all collections fit in first batch of results.
Assumes all collections fit in first batch of results .
function listCollections(database) {
    return assert
        .commandWorked(database.runCommand({listCollections: 1, includePendingDrops: true}))
        .cursor.firstBatch;
}
function listCollections ( database ) { return assert . commandWorked ( database . runCommand ( { listCollections : 1 , includePendingDrops : true } ) ) . cursor . firstBatch ; }
Assumes all collections fit in first batch of results.
Assumes all collections fit in first batch of results .