Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

Can't find if any of the keys in hstore #103

@edbond

Description

@edbond

From http://www.postgresql.org/docs/9.0/static/hstore.html:

hstore ?| text[] does hstore contain any of the specified keys? 'a=>1,b=>2'::hstore ?| ARRAY['b','c'] t

I get "ActiveRecord::PreparedStatementInvalid: wrong number of bind variables (1 for 2) in:"
using AR where("data ?| ?")

It would be great to have some special function or workaround.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions