arangosh> var a = db._query("FOR x IN five RETURN x"); arangosh> while (a.hasNext()) print(a.next()); { "_key" : "110670", "_id" : "five/110670", "_rev" : "_Y2g68AK--B", "name" : "four" } { "_key" : "110664", "_id" : "five/110664", "_rev" : "_Y2g68AG--D", "name" : "two" } { "_key" : "110673", "_id" : "five/110673", "_rev" : "_Y2g68AK--D", "name" : "five" } { "_key" : "110660", "_id" : "five/110660", "_rev" : "_Y2g68AG--B", "name" : "one" } { "_key" : "110667", "_id" : "five/110667", "_rev" : "_Y2g68AK--_", "name" : "three" }