Puedes comparar colecciones iterando los documentos y emparejándolos por _id.
function compareCollection(col1, col2) { if (col1.count() !== col2.count()) { return false; } let same = true; col1.find().forEach(function(doc1) { const doc2 = col2.findOne({_id: doc1._id}); same = same && JSON.stringify(doc1) == JSON.stringify(doc2); }); return same; }