title: MongoDB compass its not exporting all data for collection
body: <p>while trying to export collection from MongoDB compass it's not exporting all data, it's only export fields that are present in all documents. for eg: if document 1 has</p>
  <pre><code>{
      &quot;Name&quot;: &quot;Alex&quot;,
      &quot;__v&quot;: 0
  }
  </code></pre>
  <p>and if Document 2 has</p>
  <pre><code>
  {
      &quot;Name&quot;: &quot;Joe&quot;,
       &quot;ID&quot;  : 07
      &quot;__v&quot;: 0
  }
  </code></pre>
  <p>and when trying to export collection it's only exporting Name fields.  I'm trying to export all fields through the MongoDB Compass. is there any other way to export all data through any code or script</p>
  <p>EDIT: the solution is Update to new version of compass  and  while exporting data from mongo if the field name is not present in the list, there is an option to add a field through we can add a field that misses by compass</p>