MongoCursorInterface::timeoutSets a client-side timeout for this query 説明
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. パラメータ
返り値Returns this cursor. エラー / 例外Causes methods that fetch results to throw a MongoCursorTimeoutException if the data fetch takes longer than the specified number of milliseconds. 参考
|