|
MongoCursorInterface::timeoutSets a client-side timeout for this query Beschreibung
abstract public MongoCursorInterface MongoCursorInterface::timeout
( int
$ms
)A timeout can be set at any time and will affect subsequent data retrieval associated with this cursor, including fetching more results from the database. Parameter-Liste
RückgabewerteReturns this cursor. Fehler/ExceptionsCauses methods that fetch results to throw a MongoCursorTimeoutException if the data fetch takes longer than the specified number of milliseconds. Siehe auch
|