jstests/replsets/drop_databases_two_phase.js
// 'listCollections' command arguments.
'listCollections' command arguments.
' listCollections ' command arguments .
function listCollections(database, args) {
    var args = args || {};
    var failMsg = "'listCollections' command failed";
    var res = assert.commandWorked(database.runCommand("listCollections", args), failMsg);
    return res.cursor.firstBatch;
}
function listCollections ( database , args ) { var args = args || { } ; var failMsg = "'listCollections' command failed" ; var res = assert . commandWorked ( database . runCommand ( "listCollections" , args ) , failMsg ) ; return res . cursor . firstBatch ; }
'listCollections' command arguments.
' listCollections ' command arguments .