From b9476d0bea31ac0ee0afa51346e54785b006bc3c Mon Sep 17 00:00:00 2001 From: crx-dev2 <1594837530@qq.com> Date: Fri, 30 Aug 2024 08:02:54 +0000 Subject: [PATCH] update profile.result --- test/resource/cases/demo.test | 2 +- test/resource/unit_test/profile/cypher/profile.result | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/resource/cases/demo.test b/test/resource/cases/demo.test index f7511426bd..5158d8e39d 100644 --- a/test/resource/cases/demo.test +++ b/test/resource/cases/demo.test @@ -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 \ No newline at end of file +match (p:Person) where p.name = "D" or p.name = "E" return p \ No newline at end of file diff --git a/test/resource/unit_test/profile/cypher/profile.result b/test/resource/unit_test/profile/cypher/profile.result index 99a8c2397b..b589274924 100644 --- a/test/resource/unit_test/profile/cypher/profile.result +++ b/test/resource/unit_test/profile/cypher/profile.result @@ -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"}}}]