Hello
I need to search for IP on a relation, so i do like this:
$fieldsToProperties['loginLogs.ip'] = 'loginLogs.ip';
$fieldPrefixesToClasses['loginLogs'] = Login::class;
This works fine.
Now i've decided to hash the ips for my admins, so i need to hash the ip in the database in the WHERE.
So it will look like this: WHERE :ipHash = MD5(SHA2(CONCAT(loginLogs.ip, :salt), 256))
Is it possible to this with QBJSParser?
Hello
I need to search for IP on a relation, so i do like this:
This works fine.
Now i've decided to hash the ips for my admins, so i need to hash the ip in the database in the WHERE.
So it will look like this: WHERE :ipHash = MD5(SHA2(CONCAT(loginLogs.ip, :salt), 256))
Is it possible to this with QBJSParser?