|
MongoCommandCursor::batchSizeLimits the number of elements returned in one batch. Description
public MongoCommandCursor MongoCommandCursor::batchSize
( int
$batchSize
)A cursor typically fetches a batch of result objects and store them locally. This method sets the batchSize value to configure the amount of documents retrieved from the server in one round trip. Parameters
Return ValuesReturns this cursor. ExamplesExample #1 MongoCommandCursor::batchSize
<?php See Also
|