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