-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String Array #9
Comments
If you mean intersection operation, yes.
pay attention to the operator |
Thank you for the answer. When I run this code below, I got true as a result. What if the rawYQL = letter ∩ ('a') and my letter array be []string{"a","b","c"}. How can I check this? I tried, and rawYQL := but I got false as a result. |
Sorry, I confirmed this is a bug. When there's only one element in set, yql find you're going to compare an array and an string, so, false. But if the operator is ∩, it should convert the element to an array, and then do the comparison. I'll fix it soon. |
Thank you. I will be waiting. |
@alihangokdemir Fixed, Use |
Hello, Is it possible to match string array?
rawYQL =
stringArray in ('test1')
result, _ = yql.Match(rawYQL, map[string]interface{}{
"stringArray": []string{"test1","test2"},
})
The text was updated successfully, but these errors were encountered: