-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
TheĀ db.collection helper currently accepts an optional callback as the third argument (required when using "strict mode"); this should be removed along with strict mode in 4.0.
Users migrating to driver 4.0 who wish to ensure operations only execute against existing collections should use db.listCollections directly - the removed strict mode code in the associated PR may serve as a reference for implementation.
- is related to
-
NODE-2746 Strict mode for `createCollection` should be removed
- Closed