Skip to content

Instantly share code, notes, and snippets.

@perlpilot
Created January 4, 2017 16:07
Show Gist options
  • Select an option

  • Save perlpilot/bbe09e56b4526c99b2ca11e5454dccc5 to your computer and use it in GitHub Desktop.

Select an option

Save perlpilot/bbe09e56b4526c99b2ca11e5454dccc5 to your computer and use it in GitHub Desktop.
my $user_rs = resultset('User')->search_rs([
{ login_id => $login_id },
{ \[ 'LOWER(email) = ?' => lc($login_id) ] }
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment