MongoCursor::getNext

(PECL mongo >=0.9.0)

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

Description

public MongoCursor::getNext(): array

Note:

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