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
{{ message }}
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
WITH $ARGS AS args MATCH (u:USER)-[MEMBER_OF]->(o) WHERE o.uuid = 'args.memberOf' RETURN u
...which ends up comparing o.uuid to the string value 'args.memberOf' instead.
For kicks & giggles I tried to change Check to the following to see if it would be handled more cleanly.
Check: []byte("args.memberOf"),
But then I got:
errors found: (1) errors occurred: kind check failed, this should not have happened -- total errors (1)
Questions
Is there a way to compare against arguments?
Is there a more extensive set of documentation and examples? The library has no examples to follow. I had to dig through the library code and the tests to get an idea of how to use it. The docs at https://pkg.go.dev/github.com/mindstand/[email protected] are somewhat minimal.
Thank you.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem Summary
When using incoming arguments/parameters for a cypher query, this library doesn't seem to have a way to compare against arguments.
Detail
You set a parameter ahead of the query as follows for Neo:
This is the query hand-written to use this argument
The cypher-dsl to create this as closely as possible is as follows - however the comparison to the parameter has single quotes around it:
produces
...which ends up comparing o.uuid to the string value 'args.memberOf' instead.
For kicks & giggles I tried to change Check to the following to see if it would be handled more cleanly.
But then I got:
Questions
Thank you.
The text was updated successfully, but these errors were encountered: