neomodel
neomodel copied to clipboard
document error: match() returns Traversal
The match()
method used to filter on relationship properties returns NodeSet
according to the document.
But actually it returns Traversal
(so you cannot call the methods of NodeSet
, for example, get()
.)
If you look into the code, you can see that Nodeset takes a traversal in init. So this can be solved by
NodeSet(Traversal_object)
Would be great if someone actioned this. I fell into the same trap and significant amount of time trying to figure this out.