Skip to content

Commit

Permalink
update profile.result
Browse files Browse the repository at this point in the history
  • Loading branch information
ncbd committed Aug 30, 2024
1 parent 4c2366d commit b9476d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/resource/cases/demo.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
#match (p:Person) where p.birthyear > 1900 or p.birthyear < 1910 return p
#match (n:Person) return n;
#CALL db.indexes();
match (p:Person) where p.name < "D" return p
match (p:Person) where p.name = "D" or p.name = "E" return p
4 changes: 2 additions & 2 deletions test/resource/unit_test/profile/cypher/profile.result
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MATCH (n:Person) WHERE n.birthyear > 1960 RETURN n LIMIT 5;
[{"n":{"identity":12,"label":"Person","properties":{"birthyear":1970,"name":"Christopher Nolan"}}},{"n":{"identity":9,"label":"Person","properties":{"birthyear":1965,"name":"Jemma Redgrave"}}},{"n":{"identity":8,"label":"Person","properties":{"birthyear":1986,"name":"Lindsay Lohan"}}},{"n":{"identity":5,"label":"Person","properties":{"birthyear":1963,"name":"Natasha Richardson"}}}]
[{"n":{"identity":5,"label":"Person","properties":{"birthyear":1963,"name":"Natasha Richardson"}}},{"n":{"identity":8,"label":"Person","properties":{"birthyear":1986,"name":"Lindsay Lohan"}}},{"n":{"identity":9,"label":"Person","properties":{"birthyear":1965,"name":"Jemma Redgrave"}}},{"n":{"identity":12,"label":"Person","properties":{"birthyear":1970,"name":"Christopher Nolan"}}}]
PROFILE MATCH (n:Person) WHERE n.birthyear > 1960 RETURN n LIMIT 5;
[{"n":{"identity":12,"label":"Person","properties":{"birthyear":1970,"name":"Christopher Nolan"}}},{"n":{"identity":9,"label":"Person","properties":{"birthyear":1965,"name":"Jemma Redgrave"}}},{"n":{"identity":8,"label":"Person","properties":{"birthyear":1986,"name":"Lindsay Lohan"}}},{"n":{"identity":5,"label":"Person","properties":{"birthyear":1963,"name":"Natasha Richardson"}}}]
[{"n":{"identity":5,"label":"Person","properties":{"birthyear":1963,"name":"Natasha Richardson"}}},{"n":{"identity":8,"label":"Person","properties":{"birthyear":1986,"name":"Lindsay Lohan"}}},{"n":{"identity":9,"label":"Person","properties":{"birthyear":1965,"name":"Jemma Redgrave"}}},{"n":{"identity":12,"label":"Person","properties":{"birthyear":1970,"name":"Christopher Nolan"}}}]

0 comments on commit b9476d0

Please sign in to comment.