t = db.mr_merge; t.drop(); t.insert( { a : [ 1 , 2 ] } ) t.insert( { a : [ 2 , 3 ] } ) t.insert( { a : [ 3 , 4 ] } ) outName = "mr_merge_out"; out = db[outName]; out.drop(); m = function(){ for (i=0; i