I'm wanting to find records whose stored hash has a value (eventually values). Searching for keys works, but values doesn't:
*res = htable.where(Sequel.hstore(:hstore_col).has_key?(keychoice)).select_map(:id)* While there is a method *has_value?(keychoice)*, it throws a *NoMethodError* . *res = htable.where(Sequel.pg_store(:hstore_col).has_value?(valuechoice)).select_map(:id)* I am under the impression this is an iteration of keys or values, so it's confusing why it's wrong. Any insight? Cheers -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/708e9801-e9ea-44d4-8ecb-4431956593e4n%40googlegroups.com.
