From 217e3baf32d00763d975bbee2b0af126376e8771 Mon Sep 17 00:00:00 2001 From: Tom H Anderson Date: Fri, 15 Nov 2019 13:05:25 -0700 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 34cb52c..ba32947 100644 --- a/README.md +++ b/README.md @@ -21,16 +21,16 @@ are provided to filter collections at any location in the query. Doctrine provides easy taversal of your database. Consider the following imaginary query: ```php -$entity[where id = 5]-> - getRelation() +$entity[where id = 5] + ->getRelation() ->getField1() ->getField2() ->getManyToOne([where name like '%dev%']) ->getName() ->getField3() - ->getOtherRelation() - ->getField4() - ->getField5() + ->getOtherRelation() + ->getField4() + ->getField5() ``` And see it realized in GraphQL with fine grained control over each field via hydrators: