-
Type: Bug
-
Resolution: Duplicate
-
Priority: Critical - P2
-
None
-
Affects Version/s: 3.0.4
-
Component/s: JavaScript, Shell
-
None
-
ALL
When passing invalid keys and values to the second argument of createCollection it fails to return with an error stating incorrect options have been passed to function. See this example code which returns and
{"ok": 1}response.
db.createCollection('example',
{invalidKey: ''invalidValue"})
- duplicates
-
SERVER-7101 Commands should error on missing/invalid parameters
- Open