Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHAnderson authored Nov 15, 2019
1 parent b14de83 commit 217e3ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 217e3ba

Please sign in to comment.