-
Notifications
You must be signed in to change notification settings - Fork 54
Multiple entity queries
Igor Dianov edited this page May 29, 2024
·
2 revisions
You can fetch multiple nodes of the same type using a simple object query.
For Example:
query {
Humans {
select {
name
}
}
}
Will return:
{
"data": {
"Humans": {
"select": [
{
"name": "Luke Skywalker"
},
{
"name": "Darth Vader"
},
{
"name": "Han Solo"
},
{
"name": "Leia Organa"
},
{
"name": "Wilhuff Tarkin"
}
]
}
}
}