0

I'm goint to import json file into collection with data Mongo Compass

I read the documentation but didn't say if the collection has data what will happen:

it will insert all data as new documents without deleting the data that has the collection?

it will overwrite documents with same _id?

or will ovwerite all data and the json to import just will replace the while collection but keeping indexes intact

pmiranda
  • 7,602
  • 14
  • 72
  • 155

0 Answers0