Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Sokil
Mongo
Cursor
setBatchSize
Sokil\Mongo\Cursor::setBatchSize PHP Method
Cursor Class Documentation
Datei anzeigen
Open project: sokil/php-mongo
setBatchSize()
public
method
Specifies the number of documents to return in each batch of the response from the MongoDB instance.
See link:
http://docs.mongodb.org/manual/reference/method/cursor.batchSize/
public
setBatchSize
(
integer
$size
) :
Cursor
$size
integer
number of documents
return
Cursor
public function setBatchSize($size) { $this->options['batchSize'] = (int) $size; 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