(PECL mongo >=0.9.0)
MongoCursor::next — Advances the cursor to the next result, and returns that result
This function has no parameters.
Returns the next document.
Throws MongoConnectionException if it cannot reach the database and MongoCursorTimeoutException if the timeout is exceeded.