This is my query...
{
allCollection_pages(lang:"en-gb") {
totalCount
edges {
node {
heading
child_collections {
collection {
... on Collection_page {
heading
}
}
}
}
}
}
}
...and this is my response...
{
"data": {
"allCollection_pages": {
"totalCount": 2,
"edges": [
{
"node": {
"heading": "Fiction",
"child_collections": null
}
},
{
"node": {
"heading": "Arts",
"child_collections": [
{
"collection": {
"heading": "Fiction"
}
}
]
}
}
]
}
}
}
Is it possible to do a query that only returns nodes where child_collections is not null?