You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By using SHA1() function in queries in PDOStorage class you make this library DB dependent. For example, PostgreSQL doesn't have such function built-in.
Could you please rework this class to calculate the hash on PHP side?
The text was updated successfully, but these errors were encountered:
Hashing in PHP has the advantage of bing independent from SQL dialects
for generating hashes. Hash functions might not be available on all DB
platforms.
This solves issue #19
Updated coding standard lib to allow concatened multiline strings.
By using
SHA1()
function in queries inPDOStorage
class you make this library DB dependent. For example, PostgreSQL doesn't have such function built-in.Could you please rework this class to calculate the hash on PHP side?
The text was updated successfully, but these errors were encountered: