How to make database console commands appear on sql-file editing
Answered
Some days ago somehow i made appear the database console directly inside a .sql file:
This is very useful, as i can immediately run the sql-commands in the file without copying them to the external console
The fact is i dont' know how i did this, maybe pressing some key by mistake. Anyone knows how to integrate the sql-console in sql file editing ?
Please sign in to leave a comment.
Place the caret into an SQL query, press Alt+Enter, click Run query in console:
https://www.jetbrains.com/help/phpstorm/running-injected-sql-statements.html
it works, thanks