-
Notifications
You must be signed in to change notification settings - Fork 165
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
Paging with session.loadAll(User.class, filter, pagination) does not work correctly when filtering on relationship #384
Labels
Comments
frant-hartm
added a commit
that referenced
this issue
Jul 8, 2017
espiegelberg
pushed a commit
to espiegelberg/neo4j-ogm
that referenced
this issue
Aug 30, 2017
espiegelberg
pushed a commit
to espiegelberg/neo4j-ogm
that referenced
this issue
Aug 30, 2017
9 tasks
espiegelberg
pushed a commit
to espiegelberg/neo4j-ogm
that referenced
this issue
Aug 30, 2017
9 tasks
frant-hartm
added a commit
to espiegelberg/neo4j-ogm
that referenced
this issue
Sep 4, 2017
frant-hartm
pushed a commit
to espiegelberg/neo4j-ogm
that referenced
this issue
Sep 4, 2017
frant-hartm
added a commit
to espiegelberg/neo4j-ogm
that referenced
this issue
Sep 5, 2017
frant-hartm
pushed a commit
to espiegelberg/neo4j-ogm
that referenced
this issue
Sep 5, 2017
…erty Replace "with n" for "with distinct n" when filtering on a relationship property. Fixes neo4j#384
frant-hartm
pushed a commit
to espiegelberg/neo4j-ogm
that referenced
this issue
Sep 5, 2017
…erty Replace "n,r0" with "distinct n" when filtering on a relationship property. Fixes neo4j#384
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following query:
will do paging using n,r0, instead of just n:
MATCH (n:
User
) MATCH (n)-[r0:RATED
]->(m0) WHERE r0.stars
= {ratings_stars_0
} WITH n,r0 SKIP 0 LIMIT 1 MATCH p=(n)-[*0..1]-(m) RETURN p, ID(n) with params {ratings_stars_0=3}if there are multiple matching relationships it may return incorrect number of results (less) because rows with n are repeated.
The text was updated successfully, but these errors were encountered: