PHP - Manual: MongoCursorInterface
2024-12-23
(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.
$read_preference
[, array $tags
] ) : MongoCursorInterface官方地址:https://www.php.net/manual/en/class.mongocursorinterface.php