How to get a list of strings using an array of context values in croQL


I would like to get a list of strings using croQL. In the docs, I can see that we can pass “context” as a query condition, but it only accepts “string” values.

I would like to pass an array of “contexts” that can get the strings that I need.

Any help will be appreciated. Thanks :slight_smile:

using “or”-s comes first to my mind. do you generate the query programmatically?

yes @serhiy I can make it work using “or”… but I was looking for an array based approach like “context” IN [array] which would make it easier for me.