MongoDB\Driver
PHP Manual

The MongoDB\Driver\Cursor class

(mongodb >=1.0.0)

简介

The MongoDB\Driver\Cursor class encapsulates the results of a MongoDB command or query and may be returned by MongoDB\Driver\Manager::executeCommand() or MongoDB\Driver\Manager::executeQuery(), respectively.

类摘要

MongoDB\Driver\Cursor implements Traversable {
/* 方法 */
final private __construct ( void )
final public MongoDB\Driver\CursorId getId ( void )
final public MongoDB\Driver\Server getServer ( void )
final public bool isDead ( void )
final public void setTypeMap ( array $typemap )
final public array toArray ( void )
}

Table of Contents


MongoDB\Driver
PHP Manual