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 pair returns a representation that can be converted to jsonphp vector returns the result of adding all given values to the vectorphp evperiodic returns the absolute time that this watcher is supposed to trigger nextphp ibm db2 函数 returns the data type of the indicated column in a result setphp ibm db2 函数 returns a result set listing the stored procedures registered in a databasephp maxdb 函数 returns the next field in the result setphp oci8 函数 returns the next row from a query as an associative arrayphp oci8 函数 returns the next child statement resource from a parent statement resource that has oracle database 12c implicit result setsphp sqlsrv 函数 makes the next result of the specified statement activephp mongocommandcursor advances the cursor to the next resultphp mongocursor checks if there are results that have not yet been sent from the databasephp 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 driver writeresult returns the server associated with this write resultphp mysqli result returns the next field in the result setphp solrcollapsefunction returns the field that is being collapsed onphp sqlite3result returns the number of columns in the result set
关注编程学问公众号