MongoCursor
PHP Manual

MongoCursor::getNext

(PECL mongo >=0.9.0)

MongoCursor::getNextAdvances the cursor to the next result, and returns that result

Descrição

public array MongoCursor::getNext ( void )

Nota:

MongoCursor::getNext() is an alias of MongoCursor::next().


MongoCursor
PHP Manual