You have to perform a „join“ to get more fields.
> Am 16.07.2019 um 13:52 schrieb Ahmed Adel <[email protected]>: > > Hi, > > How can multiple fields be returned in graph traversal streaming expression > response documents? For example, the following query: > > nodes(emails, > walk="[email protected]>from", > gather="to") > > > returns these documents in the response: > > { > "result-set": { > "docs": [ > { > "node": "[email protected]", > "collection": "emails", > "field": "to", > "level": 1 > }, > { > "node": "[email protected]", > "collection": "emails", > "field": "to", > "level": 1 > }, > { > "node": "[email protected]", > "collection": "emails", > "field": "to", > "level": 1 > }, > { > "EOF": true, > "RESPONSE_TIME": 44 > } > ] > } > } > > How can the query above be modified to return more document fields, > "subject" for example? > > Best regards, > > A.
