-
Notifications
You must be signed in to change notification settings - Fork 38
added array support #13
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
Conversation
client_test.go
Outdated
graph.Query("MATCH (n) DELETE n") | ||
|
||
a := NodeNew("Person", "a", nil) | ||
b := NodeNew("Person", "b", nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can not see where you use those 'a' and 'b' vars
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, small comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
client_test.go
Outdated
|
||
res_a := arr[0].(*Node) | ||
res_b := arr[1].(*Node) | ||
if res_a.GetProperty("name") != "a" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a short comment explaining this logic.
added array support