I'm using some many_to_many associations with distinct: true. In general, 
they work as expected. However, if the table contains a JSON column, I get 
the following error:

Sequel::DatabaseError: PG::UndefinedFunction: ERROR:  could not identify an 
equality operator for type json

What's the best workaround for this? I'd prefer it if I could tell distinct 
specifically which column to use for distinctness.

PostgreSQL is 9.3.5 if that matters and Sequel is the latest.

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to