> You can use the array "overlap" operator, something like this:
> 
>   SELECT .... WHERE tags && ARRAY['apple', 'banana'];
> 
> See here:
> 
>   http://www.postgresql.org/docs/9.3/static/functions-array.html
> 
> Ray.

Yes. It is the one I need really. It worked. Great DB it is. Lots of utility 
methods. 

-- 
================
Regards,
Arup Rakshit
================
Debugging is twice as hard as writing the code in the first place. Therefore, 
if you write the code as cleverly as possible, you are, by definition, not 
smart enough to debug it.

--Brian Kernighan


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to