IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Data extractors

Last modified: 29 November 2022

Data extractors set rules of how to copy or view your data in the editor (in the Text view mode). You can select a default extractor from the list near the Export Data icon (The Export Data icon), configure the existing extractor, or create a custom extractor by using Groovy or JavaScript.

In IntelliJ IDEA, the last selected extractor becomes the default one for newly opened editor tabs. For MongoDB, the default extractor is always JSON.

There are several built-in formats. You can export data as a set of INSERT or UPDATE statements. Also, you can select text formats like CSV, JSON, HTML, or Markdown. For more information about exporting, see the Export section.

https://resources.jetbrains.com/help/img/idea/2022.2/db_data_extractors_json.png
Gif