I'm using mongodb native driver for nodejs. I just want to know if there are any possibilities that we can do aggregation but the method will return a cursor object? Thanks!
MongoDB's Aggregation Framework is always returning a Document (for now). So the Node driver could not return a cursor.
From 2.6 on, mongodb aggregation returns a cursor: http://docs.mongodb.org/manual/release-notes/2.6/