(PECL mongo >=0.9.0)
Advances the cursor to the next result, and returns that result
public array MongoCursor::next ( void )
Returns:
Returns the next document.
Exception:
Throws MongoConnectionException if it cannot reach the database and MongoCursorTimeoutException if the timeout is exceeded.
See also:
Please login to continue.