enum PasswordFunction: string
Public API: explicitly declared with @visibility public.

The function MySQL 5.x SET PASSWORD writes around a cleartext password: PASSWORD() or OLD_PASSWORD().

In 5.6 a bare string is the hash to store and PASSWORD('…') hashes a cleartext password; 5.7 reads a bare string as cleartext and keeps PASSWORD('…') as a deprecated equivalent. Source: https://dev.mysql.com/doc/refman/5.6/en/set-password.html, https://dev.mysql.com/doc/refman/5.7/en/set-password.html.

Reading the keyword of a functiondoctest
\SqlSemantics\Platform\MySql\Statement\Account\PasswordFunction::OldPassword->value // => 'OLD_PASSWORD'

Cases§

case Password = 'PASSWORD'
case OldPassword = 'OLD_PASSWORD'

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Constant reads 3
Type declarations 1