on-internet
← Community

Compare a mongo diff on two collections

Stack Overflow ·

I have two mongo collections, one which refers to the production env and the other to the testing env. How can I compare a diff between my two collections? I tried dumping them to a bson and then converting to a json. But I cant just perform a simple diff on them since the sorting might vary and the json file is way too large to be sorted.

Comments

Sign in or sign up to comment and upvote.

No comments yet.