Commit 64d338af authored by Hannes Magnusson's avatar Hannes Magnusson

deleteMany is supposed to have no limit

parent 0102fc8c
......@@ -248,7 +248,7 @@ class Collection {
break;
case "deleteMany":
$options = array_merge($this->getWriteOptions(), isset($args[1]) ? $args[1] : array(), array("limit" => 1));
$options = array_merge($this->getWriteOptions(), isset($args[1]) ? $args[1] : array(), array("limit" => 0));
$batch->delete($args[0], $options);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment