[mysql] inspection warning: unable to resolve column (alias)

hi there,

for me this is legal sql.
but phpstorm is unable to see, that "ordid" is an alias of "o.ord_id".
is there any good way to fix that without using "# noinspection SqlResolve" inside my sql ???

thanks a lot,
micha

2 comments
Comment actions Permalink

It seems to be a bug - it works in a plain DB console, but doesn't work in a PHP file with SQL code injected.

Please report to our tracker attaching a code sample: https://youtrack.jetbrains.com/newIssue?project=WI

0
Comment actions Permalink

@eugene thanks, done


0

Please sign in to leave a comment.