-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.0.2
-
Component/s: Public API
-
None
-
Environment:Linux, IRB session
I decided to try the projection API without reading the documentation and tried something like this:
connection['MyCollection'].find.projection('user').first
It should be projection(user: 1) instead, but I don't think it should freeze when passing a string instead of a hash... An error message would be welcomed in this case.
- depends on
-
SERVER-18136 Malformed query causes Assertion and shows backtrace
- Backlog