diff --git a/js/server/modules/org/arangodb/simple-query.js b/js/server/modules/org/arangodb/simple-query.js index 9471cd3975..4690b924c7 100644 --- a/js/server/modules/org/arangodb/simple-query.js +++ b/js/server/modules/org/arangodb/simple-query.js @@ -86,7 +86,8 @@ SimpleQueryAll.prototype.execute = function () { JSON.stringify({ collection: shard, skip: 0, - limit: limit || undefined + limit: limit || undefined, + batchSize: 100000000 }), { }, options); @@ -325,7 +326,8 @@ SimpleQueryByExample.prototype.execute = function () { example: example, collection: shard, skip: 0, - limit: limit || undefined + limit: limit || undefined, + batchSize: 100000000 }), { }, options);