|
MongoCursor::batchSizeLimits the number of elements returned in one batch 説明
public MongoCursor MongoCursor::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. However, it will never return more documents than fit in the max batch size limit (usually 4MB). パラメータ
返り値Returns this cursor. 例例1 MongoCursor::batchSize and combinations with MongoCursor::limit
<?php 変更履歴
|