arangosh> q = db.users.all(); q.setBatchSize(20); q.execute(); while (q.hasNext()) { print(q.next()); }
{
"_key" : "16479",
"_id" : "users/16479",
"_rev" : "_XG3zIwC--_",
"name" : "Gerhard"
}
{
"_key" : "16486",
"_id" : "users/16486",
"_rev" : "_XG3zIwG--_",
"name" : "Angela"
}
{
"_key" : "16483",
"_id" : "users/16483",
"_rev" : "_XG3zIwC--B",
"name" : "Helmut"
}
SimpleQueryAll(users)
arangosh> q = db.users.all(); q.execute(20); while (q.hasNext()) { print(q.next()); }
{
"_key" : "16479",
"_id" : "users/16479",
"_rev" : "_XG3zIwC--_",
"name" : "Gerhard"
}
{
"_key" : "16486",
"_id" : "users/16486",
"_rev" : "_XG3zIwG--_",
"name" : "Angela"
}
{
"_key" : "16483",
"_id" : "users/16483",
"_rev" : "_XG3zIwC--B",
"name" : "Helmut"
}
SimpleQueryAll(users)