neomodel icon indicating copy to clipboard operation
neomodel copied to clipboard

document error: match() returns Traversal

Open elferia opened this issue 7 years ago • 2 comments

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().)

elferia avatar Oct 20 '17 09:10 elferia

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)

arvindnrbt avatar Feb 07 '18 06:02 arvindnrbt

Would be great if someone actioned this. I fell into the same trap and significant amount of time trying to figure this out.

Moro-Code avatar May 16 '19 19:05 Moro-Code