Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
2.3.2
-
None
-
ALL
-
Description
Problem:
The following statement execute and does not give an error, despite "projection" being mis-spelled
> db.InformationAsset.runCommand( "text", { search: "Titanic", projetion: {_id:0 } } )
Workaround:
None - but you see that the results are not constrained by the projection.
Solution:
Throw an error if the parameters and not understood.
Attachments
Issue Links
- duplicates
-
SERVER-7101 Commands should error on missing/invalid parameters
-
- Open
-