PhpStorm 2016.3 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: 23 March 2017