PhpStorm 2018.1 Help

Extending the functionality of database tools

You can extend the functionality of your database tools by writing scripts in Groovy, Clojure, and JavaScript.

Example scripts

The PhpStorm distribution includes example extension scripts which you can access using the Scratches view of the Project tool window.

The Extensions/Database Tools and SQL/data/extractors folder contains the scripts that convert table data into various output formats (see e.g. Specifying data output format and options). The Extensions/Database Tools and SQL/schema folder contains the scripts that generate a Java entity class for a table (see Generating Java entity classes for tables and views).

Last modified: 27 July 2018