© 2012 triAGENS GmbH | 2012-04-04 36 RETURN: results projection To return a flat result from hierchical data (e.g. data from multiple collections), the MERGE() function can be employed: FOR u IN users FOR l IN locations RETURN MERGE(u, l) Would produce: [ { "name": "John", "age": 25, "x": 1, "y": -1 }, { "name": "Tina", "age": 29, "x": -2, "y": 3 }, ... ]