I would like to match {[email protected]}
with {[email protected], [email protected]}
Doing the case sensitive query is each enough:
select * from users where email @> '{[email protected]}'
However, I cannot find a way to run a case insensitive contains query against an array column.
This page does not instill confidence that this is possible, as there is no mention of case sensitivity. Any thoughts?
email
is an array, correct? – mu is too short 9 mins ago