title: MongoDB cursor in PHP, does it bring all records to the client upon query execution or one by one upon cursor iteration?
body: <p>I would like to optimize my queries with MongoDB, and I was wondering how does the PHP client protocol work with the cursor returning from find() query, does it bring large chunks of the results to the client side or fetches a single record at a time from the remote database and return it to the application?</p>