1
0
Fork 0

use limit parameter

This commit is contained in:
Jan Steemann 2014-02-06 13:10:04 +01:00
parent c36b959c69
commit 9a3c5c4277
1 changed files with 6 additions and 4 deletions

View File

@ -469,7 +469,6 @@ ArangoCollection.prototype.removeByExample = function (example,
throw err;
}
shards.forEach(function (shard) {
ArangoClusterComm.asyncRequest("put",
"shard:" + shard,
@ -478,7 +477,8 @@ ArangoCollection.prototype.removeByExample = function (example,
JSON.stringify({
collection: shard,
example: example,
waitForSync: waitForSync
waitForSync: waitForSync,
limit: limit || undefined
}),
{ },
options);
@ -570,7 +570,8 @@ ArangoCollection.prototype.replaceByExample = function (example,
collection: shard,
example: example,
newValue: newValue,
waitForSync: waitForSync
waitForSync: waitForSync,
limit: limit || undefined
}),
{ },
options);
@ -666,7 +667,8 @@ ArangoCollection.prototype.updateByExample = function (example,
example: example,
newValue: newValue,
waitForSync: waitForSync,
keepNull: keepNull
keepNull: keepNull,
limit: limit || undefined
}),
{ },
options);