(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.
注意: Similar to Traversable, this interface cannot be implemented in PHP scripts.
$read_preference
, array $tags
= ?
) : MongoCursorInterface