The MongoCursorInterface interface
(PECL mongo >=1.5.0)
소개
Interface for cursors, which can be used to iterate through results of a
database query or command. This interface is implemented by the
MongoCursor and
MongoCommandCursor classes.
Note:
Similar to Traversable, this interface cannot be
implemented in PHP scripts.
클래스 개요
abstract public MongoCursorInterface batchSize
(
int $batchSize
)
abstract public bool dead
(
void
)
abstract public array info
(
void
)
abstract public MongoCursorInterface setReadPreference
(
string $read_preference
[,
array $tags
] )
abstract public MongoCursorInterface timeout
(
int $ms
)
}
Table of Contents
There are no user contributed notes for this page.