1

I have two Mongodb with same schema and two different addresses respectively are test/prod. Now i want to copy some data in one collection to another same collection with different address.

I'm going to write code to connect both Mongodb; traverse one; find suitable data and then insert to another. Is there a better way to do this?

I'm new to Mongodb and don't know how. Please help ,thanks a lot

Rolwin Crasta
  • 4,061
  • 3
  • 32
  • 44
luckyzmk
  • 11
  • 1

0 Answers0