mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 12:56:05 +03:00
Merge pull request #469 from simPod/fix-batch-query
Fix invalid query in docs
This commit is contained in:
commit
0bd13d1828
@ -136,13 +136,13 @@ So for example following batch will require single DB request (if user field is
|
|||||||
```json
|
```json
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"query": "{user(id: 1)} { id }"
|
"query": "{user(id: 1) { id }}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"query": "{user(id: 2)} { id }"
|
"query": "{user(id: 2) { id }}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"query": "{user(id: 3)} { id }"
|
"query": "{user(id: 3) { id }}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user