We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 606e54e commit 195e5afCopy full SHA for 195e5af
src/Collection.php
@@ -203,5 +203,11 @@ function getWriteOptions() { /* {{{ */
203
function insertOne(array $filter) { /* {{{ */
204
return $this->_writeSingle($filter, self::INSERT);
205
} /* }}} */
206
+ function deleteOne(array $filter) { /* {{{ */
207
+ return $this->_writeSingle($filter, self::DELETE);
208
+ } /* }}} */
209
+ function deleteMany(array $filter) { /* {{{ */
210
+ return $this->_writeSingle($filter, self::DELETE, array("limit" => 0));
211
212
}
213
0 commit comments