arangosh> result = db.users.all().toArray(); [ { "_key" : "16451", "_id" : "users/16451", "_rev" : "_XiAwVU6--D", "name" : "Angela" }, { "_key" : "16444", "_id" : "users/16444", "_rev" : "_XiAwVU6--_", "name" : "Gerhard" }, { "_key" : "16448", "_id" : "users/16448", "_rev" : "_XiAwVU6--B", "name" : "Helmut" } ] arangosh> q = db.users.all(); q.execute(); result = [ ]; while (q.hasNext()) { result.push(q.next()); } SimpleQueryAll(users)