From ad5913cf4175201f538a914083e62da76929fdce Mon Sep 17 00:00:00 2001 From: rowan Date: Sat, 30 Nov 2024 04:55:31 -0600 Subject: [PATCH] i need to stop using double quotes when writing commit messages ;w; --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 21356b1..1f233f8 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,13 @@ RETURN e this would return every entity id that has a relationship that deals more damage than its remaining health and isn't already dead +```cypher +MATCH (e, h:Health { current: 35 }) +RETURN e +``` + +it is also possible to match against specific component properties. in this query, it will match any entity which has a `Health` component where its `current` is equal to 35 + ### Selecting worlds ```cypher USE ui