Query: mongocursorinterface
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MONGOCURSORINTERFACE(3) 1 MONGOCURSORINTERFACE(3) The MongoCursorInterface interfaceINTRODUCTIONInterface 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.CLASS SYNOPSISMongoCursorInterface MongoCursorInterfaceextends Iterator Methods o abstractpublic MongoCursorInterface MongoCursorInterface::batchSize (int $batchSize) o abstractpublic bool MongoCursorInterface::dead (void ) o abstractpublic array MongoCursorInterface::getReadPreference (void ) o abstractpublic array MongoCursorInterface::info (void ) o abstractpublic MongoCursorInterface MongoCursorInterface::setReadPreference (string $read_preference, [array $tags]) o abstractpublic MongoCursorInterface MongoCursorInterface::timeout (int $ms) Inherited methods o abstractpublic mixed Iterator::current (void ) o abstractpublic scalar Iterator::key (void ) o abstractpublic void Iterator::next (void ) o abstractpublic void Iterator::rewind (void ) o abstractpublic boolean Iterator::valid (void ) PHP Documentation Group MONGOCURSORINTERFACE(3)