MongoCursor::getNext

(PECL mongo >=0.9.0)

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

Descrierea

public MongoCursor::getNext ( ) : array

Notă:

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

add a note add a note

User Contributed Notes 1 note

up
0
dmitriyrsl at gmail dot com
8 years ago
next() is NOT alias of getNext()!

only getNext()  queries database!
To Top