Question on normalize

Suppose I have the output of a normalize query so:

{
“X”: “X1”,
“Y”: “Y1”,
“Z”: “Z1”,
“K”: “K1”
},

can I change the query to obtain:

{
“X”: “X1”,
“Y”: “Y1”,
“Z”: “Z1”,
}
{
“X”: “X1”,
“Y”: “Y1”,
“K”: “K1”
}

Only if the values belong to a different traversal. Mean, they are two different trees of objects. Also, editing the result isn’t part of Dgraph’s query system(if it is your case).

1 Like