export
Export MongoDB query or aggregation results in EJSON format from specified database collections for data transfer or analysis.
Instructions
Export a query or aggregation results in the specified EJSON format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database name | |
| collection | Yes | Collection name | |
| exportTitle | Yes | A short description to uniquely identify the export. | |
| exportTarget | Yes | The export target along with its arguments. | |
| jsonExportFormat | No | The format to be used when exporting collection data as EJSON with default being relaxed. relaxed: A string format that emphasizes readability and interoperability at the expense of type preservation. That is, conversion from relaxed format to BSON can lose type information. canonical: A string format that emphasizes type preservation at the expense of readability and interoperability. That is, conversion from canonical to BSON will generally preserve type information except in certain specific cases. | relaxed |