Intellij tools are capable to parse, lint, and autocomplete sql in strings.
To my own surprise, it has become my favorite way to handle queries with multiple/variable joins.
To my own surprise, it has become my favorite way to handle queries with multiple/variable joins.
By example:
$sql = "select myColFromTableB from tableA";
Inspection will give you have a "unknown column" warning.
(ps: sorry for late reply)