In case you're using just mongodb-native:
http://mongodb.github.com/node-mongodb-native/api-generated/cursorstream.html
On 02/08/2013 05:47 AM, Benjamin Clos wrote:
> Mongoose.js allows for streaming of records as it finds them and is
> useful for iterating over large populations.
>
--
--
Job
Mongoose.js allows for streaming of records as it finds them and is useful for
iterating over large populations.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed
Hi,
I have a node.js web application where I need process some mongodb
records (something like 20k records).
For each record I will do some processing and then write it back to the
database.
My code looks like this (not valid code just the idea) :
db.mycol.find({}, function(err, records)