One more query. I'm using GO statement to retrieve...
# nebula-users
s
One more query. I'm using GO statement to retrieve 2nd degree vertices and the result set contains vertices mapped with either of the two tags (Tag_A or Tag_B). In such a case, how do I apply filter/condition to print only the vertices of Tag_A type? GO 2 STEPS FROM "123456" OVER * WHERE tags($$)=="Tag_A" YIELD id($$); I tried the above query but couldn't achieve the desired result
j
tags() returns a list. try: WHERE "Tag_A" in tags($$)
👍 2
w
As jingchun suggested tags(foo) returns a list of strings.
👍 1
s
Thank you so much both!