Filtering Dataset with PGArray #2112
i-h8-github
started this conversation in
General
Replies: 1 comment 1 reply
-
You cannot use it that way directly for IN because treating the PGArray as inclusion would break its current use as equality:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Using http://sequel.jeremyevans.net/rdoc/files/doc/querying_rdoc.html#label-Filters as a reference, I find the following interesting:
I have a PGArray that I pull from another table to use, and I can call
to_a
on it to get the desired functionality, but I'm curious why I can't use it that way directly?Beta Was this translation helpful? Give feedback.
All reactions