Hello,
I'm trying to filter the rows of a table by whether or not a value exists
in an array column of a table.
Simple example:
table.where("apple".in($"fruits"))
In this example, each row has a "fruits" Array<String> column that could
have 1 or many fruit strings which may or may not be "apple".
However, I keep receiving the following error when I do something similar
to the example above:
"IN operator on incompatible types: String and GenericType<java.util.List>"
Is there any way to accomplish this?
Thanks!
--
Rex Fenley | Software Engineer - Mobile and Backend
Remind.com <https://www.remind.com/> | BLOG <http://blog.remind.com/>
| FOLLOW
US <https://twitter.com/remindhq> | LIKE US
<https://www.facebook.com/remindhq>