next() is NOT alias of getNext()!
only getNext() queries database!
(PECL mongo >=0.9.0)
MongoCursor::getNext — Advances the cursor to the next result, and returns that result
Notă:
MongoCursor::getNext() is an alias of MongoCursor::next().
next() is NOT alias of getNext()!
only getNext() queries database!