On 12/24/2012 4:45 PM, David Johnston wrote:

SELECT 'a=>1'::hstore ? 'a'::text


fwiw, this works for me...

select hstore 'a=>1' ? 'a';


'something'::SOMETYPE is a type cast operation, while SOMETYPE 'something' is a constant of SOMETYPE. I didn't bother to cast 'a' to text as 'a' *is* text by default.


Reply via email to