-
Notifications
You must be signed in to change notification settings - Fork 71
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
filters on one-to-many relationship existence #177
Comments
Can you try to use:
Currently there is no generic, "does exist" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Similar to neo4j-graphql-java#27.
Is it possible to use
filter
that says "where an array field is non-empty"? For example this schema:on a db with:
I'm struggling to come up with a
filter
that only returns thePerson
s that have at least one[:knows]-(:Person)
relationship. Based on the generated cypher It seems likefriends_not: null
is the intended way to do this:The key being
WHERE ( (person)-[:knows]->())
but since the second node doesn't have a label the following query:gives me:
The text was updated successfully, but these errors were encountered: