PHP Velho Oeste 2024

MongoCursor::getNext

(PECL mongo >=0.9.0)

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

Description

public MongoCursor::getNext ( void ) : array

Note:

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