Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Sokil
Mongo
Cursor
setServerTimeout
Sokil\Mongo\Cursor::setServerTimeout PHP Метод
Документация по классу Cursor
Показать файл
Открыть проект
setServerTimeout()
публичный
Метод
Server-side timeout for a query, Specifies a cumulative time limit in milliseconds to be allowed by the server for processing operations on the cursor.
public
setServerTimeout
(
type
$ms
) :
Cursor
$ms
type
Результат
Cursor
public function setServerTimeout($ms) { $this->options['serverTimeout'] = (int) $ms; return $this; }
Cursor
__call
__construct
asArray
asObject
byId
byIdList
copyToCollection
count
current
explain
expression
field
fields
filter
findAll
findAndRemove
findAndUpdate
findOne
findRandom
getCursor
getExpression
getHash
getIdList
getMongoQuery
getOption
getReadPreference
getResultSet
hint
isDocumentPoolUsed
isResultAsArray
key
limit
limitedCount
map
mixedToMongoIdList
moveToCollection
next
paginate
pluck
pluckDotNoteted
query
readNearest
readPrimaryOnly
readPrimaryPreferred
readSecondaryOnly
readSecondaryPreferred
rewind
setBatchSize
setClientTimeout
setServerTimeout
skip
skipDocumentPool
skipField
skipFields
slice
sort
useDocumentPool
valid