Format MySQL code inside PHP string

后端 未结 16 1785
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-04 00:29

Is there any program IDE or not that can format MySQL code inside PHP string e.g. I use PHPStorm IDE and it cannot do it.

It does that for PHP and MYSQL but not for MYS

16条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-04 01:31

    1. Log, profile your SQL statements.
    2. Use an external service such as this one - SQLFormat API - in order to format your SQL statements
    3. You can also run it on your machine dowloading the Python sources.

提交回复
热议问题