SQL: Any way to replace {TablePrefix} with configured prefix?

Hi, I'm using this query and replacing {TablePreifx} in query call, but phpStorm triggers it as error, is there any workaround?

$SQL = 'SELECT ID, Player FROM {TablePrefix}Accounts WHERE LOWER(Player)=:username AND Password=:password';

0
Avatar
Permanently deleted user

Hello,

What dialect is that? Is it being used in some framework?

0
Avatar
Permanently deleted user

Hi, this is my own "framework". If this cannot be resolved, is there any way to disable/hide errors for this?

0

Please try the same project in latest EAP build

This doesn't give me errors on a small fragment:

0
Avatar
Permanently deleted user

I tried latest EAP build, but still this shows up:

0

请先登录再写评论。