Skip to content

Instantly share code, notes, and snippets.

@troyk
Created April 14, 2013 20:17
Show Gist options
  • Save troyk/5384041 to your computer and use it in GitHub Desktop.
Save troyk/5384041 to your computer and use it in GitHub Desktop.
postgres array manipulation
select (select array(select a.e from unnest(matches) as a(e) where a.e != '%CHAN%')) from sms_keywords;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment