Skip to content

Instantly share code, notes, and snippets.

@bbangert
Last active July 22, 2020 02:45
Show Gist options
  • Save bbangert/f6892e3179097b58a37cbc9b20b5fcb7 to your computer and use it in GitHub Desktop.
Save bbangert/f6892e3179097b58a37cbc9b20b5fcb7 to your computer and use it in GitHub Desktop.
create
definer = root@`%` procedure emailRecord_5_explain(IN inEmail varchar(255) CHARACTER SET utf8 COLLATE utf8_bin)
BEGIN
SELECT
a.uid,
a.email,
a.normalizedEmail,
a.emailVerified,
a.emailCode,
a.kA,
a.wrapWrapKb,
a.verifierVersion,
a.authSalt,
a.verifierSetAt,
a.lockedAt,
a.createdAt,
a.ecosystemAnonId
FROM
accounts a
WHERE
a.normalizedEmail = LOWER(inEmail)
;
END;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment