-
Type: New Feature
-
Resolution: Won't Fix
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Empty show more show less
I see that code was commited to an unrelated pr:
23dcf19
Basically someone commited transform functionality for cursor streams.
What are some thoughts of adding this functionality everywhere a document is returned:
findOne(), cursors, streams, etc.
It'd be pretty rad if so. That way I don't have to "proxy" cursors and such or do double iterations on non-stream cursors.
This would be pretty handy-dandy for simple object mappers.
All these node-mongo wrapped libraries make me want to cry... it'd be great if we can find an easier way of either extending this driver also... but that's not related to this issue I posted and is another topic.