File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,20 @@ Behavior
86
86
87
87
- .. include:: /includes/extracts/5.0-changes-drop-sharding.rst
88
88
89
+ - Starting in MongoDB 6.0, the :method:`db.collection.drop()` method
90
+ drops the specified collection and any internal collections related
91
+ to encrypted fields.
92
+
93
+ .. warning::
94
+
95
+ The :method:`db.collection.drop()` method's behavior differs from
96
+ the driver's ``drop`` method's behavior. The driver's connection
97
+ must have automatic encryption enabled in order to drop both the
98
+ specified collection and any internal collections related to
99
+ encrypted fields. ``mongosh`` *always* drops the specified
100
+ collection and any internal collections related to encrypted
101
+ fields.
102
+
89
103
Resource Locking
90
104
~~~~~~~~~~~~~~~~
91
105
You can’t perform that action at this time.
0 commit comments