CompassUI Export to json without ID field

Hi

can someone explain with MongoDB Compass UI tool

How i can export my collection into json file without ID field ?

OR

How to import json file into collection and produce new ID ?

Thanks a lot

I originally posted:

With Compass when you export you may select the fields you want to export. You simply have to unchecked the _id field.

before testing it. And it did not work. I was really really surprised. So I tested with another version of Compass (version 1.32.2) and it did work. The version that failed is 1.29.5 on Windows.

1 Like

Ok i can t try to latest version because i need to upgrade my server mongo version

Not the server, only Compass version.