Skip to content

Commit 27b8199

Browse files
jmd-mongoandf-mongodb
authored andcommitted
DOCS-14010 API V1 Commands Reject Unrecognized Arguments
1 parent 5922b97 commit 27b8199

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/reference/command/drop.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ drop
5151
Behavior
5252
--------
5353

54+
- Starting in MongoDB 5.0, the :dbcommand:`drop` command and the
55+
:method:`db.collection.drop()` method will raise an error if passed an
56+
unrecognized parameter. In MongoDB 4.4 and earlier, unrecognized
57+
parameters are silently ignored.
58+
5459
- This command also removes any indexes associated with the dropped
5560
collection.
5661

0 commit comments

Comments
 (0)