You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem when I use type() function with openCypher
This is my statement match p=(a)-[e*..2]->(b) where id(a) == '123456' return p
I want to use type() function to exclude specified edge like this match p=(a)-[e*..2]->(b) where id(a) == '123456' and type(e) != 'follow' return type(e)
But it didn't work, I used the following statement to see the result match p=(a)-[e*..2]->(b) where id(a) == '123456' return type(e)
I found that it returned BAD_TYPE,this is the screenshot
Then I changed the statement, like this match p=(a)-[e]->(b) where id(a) == '123456' return type(e)
And it worked, this is the screenshot
Is there something wrong with the way I use it or other reasons?
version: 3.1.0
The text was updated successfully, but these errors were encountered:
I have a problem when I use
type()
function with openCypherThis is my statement
match p=(a)-[e*..2]->(b) where id(a) == '123456' return p
I want to use
type()
function to exclude specified edge like thismatch p=(a)-[e*..2]->(b) where id(a) == '123456' and type(e) != 'follow' return type(e)
But it didn't work, I used the following statement to see the result
match p=(a)-[e*..2]->(b) where id(a) == '123456' return type(e)
I found that it returned
BAD_TYPE
,this is the screenshotThen I changed the statement, like this
match p=(a)-[e]->(b) where id(a) == '123456' return type(e)
And it worked, this is the screenshot
Is there something wrong with the way I use it or other reasons?
version: 3.1.0
The text was updated successfully, but these errors were encountered: