-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Unlike the 1.x driver API, the filter document parameter is always required. It may be empty (to match everything), but users must specify it.
Usage example:
$collection->deleteOne([]); // First positional argument is required criteria $collection->deleteOne(['x' => 1]);
- depends on
-
PHPLIB-27 Create write result classes
- Closed