arangosh> var a = db._query("FOR x IN five RETURN x"); arangosh> while (a.hasNext()) print(a.next()); { "_key" : "110617", "_id" : "five/110617", "_rev" : "_XoI684G--D", "name" : "four" } { "_key" : "110611", "_id" : "five/110611", "_rev" : "_XoI684G--_", "name" : "two" } { "_key" : "110620", "_id" : "five/110620", "_rev" : "_XoI684K--_", "name" : "five" } { "_key" : "110614", "_id" : "five/110614", "_rev" : "_XoI684G--B", "name" : "three" } { "_key" : "110607", "_id" : "five/110607", "_rev" : "_XoI684C--B", "name" : "one" }