Skip to content

Instantly share code, notes, and snippets.

@maximecolin
Created November 28, 2013 08:21
Show Gist options
  • Save maximecolin/7688760 to your computer and use it in GitHub Desktop.
Save maximecolin/7688760 to your computer and use it in GitHub Desktop.
Not case sensitive with PostGreSQL
$queryBuilder->andWhere('LOWER(r.name) LIKE LOWER(:name)')->setParameter('name', '%'.$filter['name'].'%');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment