MongoCursor::next

(PECL mongo >=0.9.0)

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

说明

public MongoCursor::next ( void ) : array

参数

此函数没有参数。

返回值

Returns the next document.

错误/异常

Throws MongoConnectionException if it cannot reach the database and MongoCursorTimeoutException if the timeout is exceeded.

参见

相关文章
php domxpath evaluates the given xpath expression and returns a typed result if possiblephp map returns the result of applying a callback to each valuephp evperiodic returns the absolute time that this watcher is supposed to trigger nextphp ibm db2 函数 returns an object with properties that describe the db2 database clientphp ibm db2 函数 sets the result set pointer to the next row or requested rowphp maxdb 函数 returns the next field in the result setphp oci8 函数 returns the next child statement resource from a parent statement resource that has oracle database 12c implicit result setsphp sqlsrv 函数 makes the next row in a result set available for readingphp com 函数 concatenates two variant values together and returns the resultphp com 函数 returns the result of performing the power function with two variantsphp mongocommandcursor advances the cursor to the next resultphp mongocursor advances the cursor to the next result and returns that resultphp mongocursor returns the current result s id or its index within the result setphp mongocursor advances the cursor to the next result and returns that resultphp mongocursor returns the cursor to the beginning of the result setphp mongocursor checks if the cursor is reading a valid resultphp mongodb bson int64 returns a representation that can be converted to jsonphp mongogridfscursor return the next file to which this cursor points and advance the cursorphp mysql xdevapi sqlstatement get next resultphp mysqli result returns the next field in the result set
关注编程学问公众号