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 evperiodic returns the absolute time that this watcher is supposed to trigger nextphp ibm db2 函数 returns an array indexed by both column name and position representing a row in a result setphp ibm db2 函数 requests the next result set from a stored procedurephp maxdb 函数 returns the next field in the result setphp mqseries 函数 returns the error message corresponding to a result code mqrc php oci8 函数 returns the next child statement resource from a parent statement resource that has oracle database 12c implicit result setsphp mongocommandcursor advances the cursor to the next resultphp mongocommandcursor checks if the cursor is reading a valid resultphp mongocursor advances the cursor to the next result and returns that resultphp mongocursor sets whether this cursor will timeoutphp mongocursor gets information about the cursor s creation and iterationphp 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 maxkey returns a representation that can be converted to jsonphp mongodb bson utcdatetime returns a representation that can be converted to jsonphp mongodb driver cursor returns the server associated with this cursorphp mysqli result returns the next field in the result setphp solrquery returns the offset in the complete result set
关注编程学问公众号