Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • what if use 'string1, string2' instead of ['string1', 'string2']? Commented Jun 11, 2018 at 21:49
  • 1
    Have you tried select 1 from myTable where myColumn = any(array)? Checkout this doc: postgresql.org/docs/current/static/functions-comparisons.html Commented Jun 11, 2018 at 21:53
  • that worked, thank you Commented Jun 12, 2018 at 7:25
  • @Dan you should post that as an answer, or OP could post it himself s.t. we know this question was answered Commented Jun 12, 2018 at 7:33
  • @RaulRene Will do. Commented Jun 12, 2018 at 15:43